diff options
Diffstat (limited to 'gui/PopUpWidget.h')
-rw-r--r-- | gui/PopUpWidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/PopUpWidget.h b/gui/PopUpWidget.h index 44eff7d174..4b20415e72 100644 --- a/gui/PopUpWidget.h +++ b/gui/PopUpWidget.h @@ -62,6 +62,7 @@ public: void setSelected(int item); int getSelected() const { return _selectedItem; } + uint32 getSelectedTag() const { return (_selectedItem >= 0) ? _entries[_selectedItem].tag : (uint32)-1; } const String& getSelectedString() const { return (_selectedItem >= 0) ? _entries[_selectedItem].name : String::emptyString; } protected: |