mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
Mac-specific: One more check in MacMouseover module
This commit is contained in:
parent
d0cd6a50af
commit
e6c676e6ec
|
@ -247,6 +247,9 @@ void MacMouseOver::handlePosition()
|
||||||
void MacMouseOver::handleRetrievedString( QString & wordSeq, int wordSeqPos )
|
void MacMouseOver::handleRetrievedString( QString & wordSeq, int wordSeqPos )
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if( wordSeq.isEmpty() )
|
||||||
|
return;
|
||||||
|
|
||||||
// locate the word inside the sequence
|
// locate the word inside the sequence
|
||||||
|
|
||||||
QString word;
|
QString word;
|
||||||
|
|
Loading…
Reference in a new issue