Use Alt+LClick in the "Found in Dictionaries" pane as LClick in the Dictionaries bar

This commit is contained in:
Abs62 2018-02-08 18:01:02 +03:00
parent 109bd56f39
commit 65237ab22c

View file

@ -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 );