summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textbox.h')
-rw-r--r--src/gui/widgets/textbox.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/textbox.h b/src/gui/widgets/textbox.h
index 0990fe56b..45a5169dc 100644
--- a/src/gui/widgets/textbox.h
+++ b/src/gui/widgets/textbox.h
@@ -241,8 +241,7 @@ class TextBox final : public Widget,
*
* @param editable True if the text box should be editable, false otherwise.
*/
- void setEditable(const bool editable)
- { mEditable = editable; }
+ void setEditable(const bool editable);
/**
* Adds a row of text to the end of the text.