aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets/popup.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widgets/popup.h')
-rw-r--r--gui/widgets/popup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widgets/popup.h b/gui/widgets/popup.h
index d2b1f1cb92..a898479410 100644
--- a/gui/widgets/popup.h
+++ b/gui/widgets/popup.h
@@ -77,7 +77,7 @@ public:
uint32 getSelectedTag() const { return (_selectedItem >= 0) ? _entries[_selectedItem].tag : (uint32)-1; }
// const String& getSelectedString() const { return (_selectedItem >= 0) ? _entries[_selectedItem].name : String::emptyString; }
- void handleMouseEntered(int button) { setFlags(WIDGET_HILITED); markAsDirty(); }
+ void handleMouseEntered(int button) { read(_entries[_selectedItem].name); setFlags(WIDGET_HILITED); markAsDirty(); }
void handleMouseLeft(int button) { clearFlags(WIDGET_HILITED); markAsDirty(); }
virtual void reflowLayout();