diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-01 00:53:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-01 00:53:11 +0300 |
commit | 3f632c818b2041b36b6e5209e2ca6bfb2c6f4479 (patch) | |
tree | 07524f0f636519d99b61ff5fa193d1a20a56ddb0 /src/gui/widgets/textbox.h | |
parent | 3af105edb6f4823e6d32b7d793bdb9cfbe2582dd (diff) | |
download | ManaVerse-3f632c818b2041b36b6e5209e2ca6bfb2c6f4479.tar.gz ManaVerse-3f632c818b2041b36b6e5209e2ca6bfb2c6f4479.tar.bz2 ManaVerse-3f632c818b2041b36b6e5209e2ca6bfb2c6f4479.tar.xz ManaVerse-3f632c818b2041b36b6e5209e2ca6bfb2c6f4479.zip |
Dont allow select textboxes without editable flag.
This allow drag window by clicking on textboxes.
Diffstat (limited to 'src/gui/widgets/textbox.h')
-rw-r--r-- | src/gui/widgets/textbox.h | 3 |
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. |