From 3f632c818b2041b36b6e5209e2ca6bfb2c6f4479 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Jun 2018 00:53:11 +0300 Subject: Dont allow select textboxes without editable flag. This allow drag window by clicking on textboxes. --- src/gui/widgets/textbox.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/widgets/textbox.h') 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. -- cgit v1.2.3-70-g09d2