diff options
Diffstat (limited to 'gui/widgets/popup.cpp')
-rw-r--r-- | gui/widgets/popup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/widgets/popup.cpp b/gui/widgets/popup.cpp index 74fbc44823..f59a89e543 100644 --- a/gui/widgets/popup.cpp +++ b/gui/widgets/popup.cpp @@ -409,7 +409,7 @@ void PopUpWidget::handleMouseDown(int x, int y, int button, int clickCount) { if (newSel != -1 && _selectedItem != newSel) { _selectedItem = newSel; sendCommand(kPopUpItemSelectedCmd, _entries[_selectedItem].tag); - draw(); + markAsDirty(); } } } @@ -429,7 +429,7 @@ void PopUpWidget::handleMouseWheel(int x, int y, int direction) { (newSelection != _selectedItem)) { _selectedItem = newSelection; sendCommand(kPopUpItemSelectedCmd, _entries[_selectedItem].tag); - draw(); + markAsDirty(); } } } |