mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 00:11:21 +00:00
Fix Bug 309760 - Crash while inline-renaming a file and apply change with return-key
BUG: 309760 FIXED-IN: 4.9.4
This commit is contained in:
parent
951cb9c35d
commit
3143acc084
|
@ -144,7 +144,8 @@ void KItemListRoleEditor::keyPressEvent(QKeyEvent* event)
|
|||
return;
|
||||
case Qt::Key_Enter:
|
||||
case Qt::Key_Return:
|
||||
emitRoleEditingFinished();
|
||||
// TODO: find a better way to fix the bug 309760
|
||||
clearFocus(); // emitRoleEditingFinished(); results in a crash
|
||||
event->accept();
|
||||
return;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue