diff options
author | Ken Moore <ken@ixsystems.com> | 2016-12-16 09:18:21 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-12-16 09:18:21 -0500 |
commit | 391a6851f10740554ebe80baa98276cc558b803a (patch) | |
tree | dac8392f5338a4af77a3e0d6d7280880e9b3b009 | |
parent | Commit a lot more cleanup for the terminal. (diff) | |
download | lumina-391a6851f10740554ebe80baa98276cc558b803a.tar.gz lumina-391a6851f10740554ebe80baa98276cc558b803a.tar.bz2 lumina-391a6851f10740554ebe80baa98276cc558b803a.zip |
Switch the "clicked" signal for the "Activated" signal within the input device checkbox detection. This will allow keyboard changes to be detected/applied as well.
-rw-r--r-- | src-qt5/core-utils/lumina-config/pages/page_mouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core-utils/lumina-config/pages/page_mouse.cpp b/src-qt5/core-utils/lumina-config/pages/page_mouse.cpp index bda90ad4..f4eebd0e 100644 --- a/src-qt5/core-utils/lumina-config/pages/page_mouse.cpp +++ b/src-qt5/core-utils/lumina-config/pages/page_mouse.cpp @@ -76,7 +76,7 @@ void page_mouse::generateUI(){ tree = new QTreeWidget(this); tree->setHeaderHidden(true); tree->setColumnCount(2); - connect(tree, SIGNAL(itemClicked(QTreeWidgetItem*, int)), this, SLOT(itemClicked(QTreeWidgetItem*,int)) ); + connect(tree, SIGNAL(itemActivated(QTreeWidgetItem*, int)), this, SLOT(itemClicked(QTreeWidgetItem*,int)) ); if(devices[i]->isPointer()){ int tab = ui->tabWidget->addTab(tree, LXDG::findIcon("input-mouse",""), QString(tr("Mouse #%1")).arg(QString::number(mouse)) ); ui->tabWidget->setTabWhatsThis(tab, "mouse:"+QString::number(devices[i]->devNumber())); |