From 65237ab22cfed0cda5abd2e1007629e0c4cd2d3f Mon Sep 17 00:00:00 2001 From: Abs62 Date: Thu, 8 Feb 2018 18:01:02 +0300 Subject: [PATCH] Use Alt+LClick in the "Found in Dictionaries" pane as LClick in the Dictionaries bar --- mainwindow.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mainwindow.cc b/mainwindow.cc index 77584d27..f721becf 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -4060,8 +4060,9 @@ void MainWindow::switchExpandOptionalPartsMode() void MainWindow::foundDictsPaneClicked( QListWidgetItem * item ) { - if ( QApplication::keyboardModifiers() & - ( Qt::ControlModifier | Qt::ShiftModifier ) ) + Qt::KeyboardModifiers m = QApplication::keyboardModifiers(); + if ( ( m & ( Qt::ControlModifier | Qt::ShiftModifier ) ) + || ( m == Qt::AltModifier ) ) { QString id = item->data( Qt::UserRole ).toString(); emit clickOnDictPane( id );