summaryrefslogtreecommitdiff
path: root/src/gui/windows/textselectdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-20 23:31:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-20 23:31:01 +0300
commit39f265e503e11f2e48e7a54129f216b55e288ac3 (patch)
tree2fe197330ea77bed9f59b633c3dd1bffd63a9a17 /src/gui/windows/textselectdialog.h
parentb43d3d71666161d9276440727082cc1508741280 (diff)
downloadplus-39f265e503e11f2e48e7a54129f216b55e288ac3.tar.gz
plus-39f265e503e11f2e48e7a54129f216b55e288ac3.tar.bz2
plus-39f265e503e11f2e48e7a54129f216b55e288ac3.tar.xz
plus-39f265e503e11f2e48e7a54129f216b55e288ac3.zip
Not allow close warp dialog until select warp target.
Diffstat (limited to 'src/gui/windows/textselectdialog.h')
-rw-r--r--src/gui/windows/textselectdialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/windows/textselectdialog.h b/src/gui/windows/textselectdialog.h
index 800f7cee4..70da4ad5e 100644
--- a/src/gui/windows/textselectdialog.h
+++ b/src/gui/windows/textselectdialog.h
@@ -25,6 +25,8 @@
#include "gui/widgets/window.h"
+#include "enums/simpletypes/allowquit.h"
+
#include "listeners/actionlistener.h"
#include "listeners/selectionlistener.h"
@@ -42,7 +44,8 @@ class TextSelectDialog notfinal : public Window,
* Constructor.
*/
TextSelectDialog(const std::string &name,
- const std::string &selectButton);
+ const std::string &selectButton,
+ const AllowQuit allowQuit);
A_DELETE_COPY(TextSelectDialog)
@@ -94,6 +97,7 @@ class TextSelectDialog notfinal : public Window,
ListBox *mItemList A_NONNULLPOINTER;
ScrollArea *mScrollArea A_NONNULLPOINTER;
NamesModel *mModel A_NONNULLPOINTER;
+ AllowQuit mAllowQuit;
int mTag;
};