mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +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
c0559a2a1d
commit
9aacd610a3
1 changed files with 2 additions and 1 deletions
|
@ -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