summaryrefslogtreecommitdiff
path: root/src/gui/widgets/popuplist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/popuplist.h')
-rw-r--r--src/gui/widgets/popuplist.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/widgets/popuplist.h b/src/gui/widgets/popuplist.h
index db38585d9..a15701d57 100644
--- a/src/gui/widgets/popuplist.h
+++ b/src/gui/widgets/popuplist.h
@@ -21,6 +21,8 @@
#ifndef GUI_WIDGETS_POPUPLIST_H
#define GUI_WIDGETS_POPUPLIST_H
+#include "enums/simpletypes.h"
+
#include "gui/widgets/popup.h"
#include "listeners/focuslistener.h"
@@ -37,8 +39,9 @@ class PopupList final : public Popup,
{
public:
PopupList(DropDown *const widget,
- ListModel *const listModel, bool extended,
- bool modal = false);
+ ListModel *const listModel,
+ const bool extended,
+ const Modal modal = Modal_false);
~PopupList();
@@ -75,7 +78,7 @@ class PopupList final : public Popup,
ScrollArea *mScrollArea;
DropDown *mDropDown;
int mPressedIndex;
- bool mModal;
+ Modal mModal;
};
#endif // GUI_WIDGETS_POPUPLIST_H