Commit 3143acc0 authored by Emmanuel Pescosta's avatar Emmanuel Pescosta
Browse files

Fix Bug 309760 - Crash while inline-renaming a file and apply change with return-key

BUG: 309760
FIXED-IN: 4.9.4
parent 951cb9c3
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment