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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/popuplist.h b/src/gui/widgets/popuplist.h
index ad2ad0d03..b4575d51e 100644
--- a/src/gui/widgets/popuplist.h
+++ b/src/gui/widgets/popuplist.h
@@ -63,6 +63,8 @@ class PopupList final : public Popup,
void focusLost(const gcn::Event& event A_UNUSED) override;
+ void mousePressed(gcn::MouseEvent& mouseEvent) override;
+
void mouseReleased(gcn::MouseEvent& mouseEvent) override;
private:
@@ -70,6 +72,7 @@ class PopupList final : public Popup,
ListBox *mListBox;
ScrollArea *mScrollArea;
DropDown *mDropDown;
+ int mPressedIndex;
bool mModal;
};