diff --git a/src/frontends/qt4/GuiSelectionManager.cpp b/src/frontends/qt4/GuiSelectionManager.cpp index 90f90731c5..5bdec941c1 100644 --- a/src/frontends/qt4/GuiSelectionManager.cpp +++ b/src/frontends/qt4/GuiSelectionManager.cpp @@ -402,6 +402,12 @@ bool GuiSelectionManager::eventFilter(QObject * obj, QEvent * event) event->accept(); return true; } + else if (keyPressed == Qt::Key_Right) { + selectedLV->setFocus(); + selectedLV->setCurrentIndex(selectedLV->currentIndex()); + event->accept(); + return true; + } } else if (etype == QEvent::FocusIn) { if (selectedHasFocus_) { selectedHasFocus_ = false; @@ -445,6 +451,12 @@ bool GuiSelectionManager::eventFilter(QObject * obj, QEvent * event) return true; } } + else if (keyPressed == Qt::Key_Left) { + availableLV->setFocus(); + availableLV->setCurrentIndex(availableLV->currentIndex()); + event->accept(); + return true; + } } else if (etype == QEvent::FocusIn) { if (!selectedHasFocus_) { selectedHasFocus_ = true;