summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 9130e441..e101e112 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -38,8 +38,7 @@ class TextField : public gcn::TextField
/**
* Constructor, initializes the text field with the given string.
*/
- TextField(const std::string &text = "");
-
+ TextField(const std::string &text = "", bool loseFocusOnTab = true);
~TextField();
/**
@@ -98,6 +97,7 @@ class TextField : public gcn::TextField
bool mNumeric;
int mMinimum;
int mMaximum;
+ bool mLoseFocusOnTab;
};
#endif