mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Add break; to KItemListRoleEditor::keyPressEvent cases
This commit is contained in:
parent
90699c2c2d
commit
674a4a91da
|
@ -90,6 +90,7 @@ void KItemListRoleEditor::keyPressEvent(QKeyEvent* event)
|
||||||
event->accept();
|
event->accept();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case Qt::Key_Backtab:
|
case Qt::Key_Backtab:
|
||||||
case Qt::Key_Up:
|
case Qt::Key_Up:
|
||||||
if (m_allowUpDownKeyChainEdit || event->key() == Qt::Key_Backtab) {
|
if (m_allowUpDownKeyChainEdit || event->key() == Qt::Key_Backtab) {
|
||||||
|
@ -97,6 +98,7 @@ void KItemListRoleEditor::keyPressEvent(QKeyEvent* event)
|
||||||
event->accept();
|
event->accept();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case Qt::Key_Left:
|
case Qt::Key_Left:
|
||||||
case Qt::Key_Right: {
|
case Qt::Key_Right: {
|
||||||
QTextCursor cursor = textCursor();
|
QTextCursor cursor = textCursor();
|
||||||
|
|
Loading…
Reference in a new issue