mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Correct Right Arrow key processing in Modules list
This commit is contained in:
parent
e1dd91e10e
commit
4c3139314b
@ -418,6 +418,10 @@ bool GuiSelectionManager::eventFilter(QObject * obj, QEvent * event)
|
||||
return true;
|
||||
}
|
||||
else if (keyPressed == Qt::Key_Right) {
|
||||
QModelIndex const idx = availableLV->currentIndex();
|
||||
if (availableLV->model()->hasChildren(idx)) { // skip for headers
|
||||
return false;
|
||||
}
|
||||
focusAndHighlight(selectedLV);
|
||||
event->accept();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user