From 33f8aadfeb81ead60ce1264f0af681dcdbd4931f Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Wed, 17 Jul 2019 13:33:42 +0200 Subject: TTS: Add age to TTSVoice --- gui/widgets/popup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/widgets') 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; } -- cgit v1.2.3