mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +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 )
|
void MainWindow::foundDictsPaneClicked( QListWidgetItem * item )
|
||||||
{
|
{
|
||||||
if ( QApplication::keyboardModifiers() &
|
Qt::KeyboardModifiers m = QApplication::keyboardModifiers();
|
||||||
( Qt::ControlModifier | Qt::ShiftModifier ) )
|
if ( ( m & ( Qt::ControlModifier | Qt::ShiftModifier ) )
|
||||||
|
|| ( m == Qt::AltModifier ) )
|
||||||
{
|
{
|
||||||
QString id = item->data( Qt::UserRole ).toString();
|
QString id = item->data( Qt::UserRole ).toString();
|
||||||
emit clickOnDictPane( id );
|
emit clickOnDictPane( id );
|
||||||
|
|
Loading…
Reference in a new issue