diff options
Diffstat (limited to 'gui/widgets')
-rw-r--r-- | gui/widgets/popup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widgets/popup.cpp b/gui/widgets/popup.cpp index 532127a422..2fce6e126f 100644 --- a/gui/widgets/popup.cpp +++ b/gui/widgets/popup.cpp @@ -213,7 +213,7 @@ void PopUpDialog::handleMouseMoved(int x, int y, int button) { // ...and update the selection accordingly setSelection(item); - if (_lastRead != item) { + if (_lastRead != item && _popUpBoss->_entries.size() > 0 && item != -1) { read(_popUpBoss->_entries[item].name); _lastRead = item; } |