mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Use Alt+LClick in the "Found in Dictionaries" pane as LClick in the Dictionaries bar
This commit is contained in:
parent
109bd56f39
commit
65237ab22c
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue