From 740637d98a64f7b3b0207e75267b92c5c1944a50 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Thu, 8 Feb 2018 18:01:39 +0300 Subject: [PATCH] Ignore Ctrl/Shift/Alt modifiers while click on the "Found in Dictionaries" pane if Dictionaries bar is hidden --- dictionarybar.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dictionarybar.cc b/dictionarybar.cc index 773fa792..54753b45 100644 --- a/dictionarybar.cc +++ b/dictionarybar.cc @@ -348,6 +348,9 @@ void DictionaryBar::actionWasTriggered( QAction * action ) void DictionaryBar::dictsPaneClicked( const QString & id ) { + if ( !isVisible() ) + return; + for( QList< QAction * >::iterator i = dictActions.begin(); i != dictActions.end(); ++i ) {