diff --git a/macmouseover.mm b/macmouseover.mm index 305d585a..1a065401 100644 --- a/macmouseover.mm +++ b/macmouseover.mm @@ -247,6 +247,9 @@ void MacMouseOver::handlePosition() void MacMouseOver::handleRetrievedString( QString & wordSeq, int wordSeqPos ) { + if( wordSeq.isEmpty() ) + return; + // locate the word inside the sequence QString word;