diff options
| author | Emmanuel Pescosta <[email protected]> | 2012-11-09 12:10:36 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2012-11-09 12:10:36 +0100 |
| commit | 9aacd610a37f5d03c7dbd9ce712985c477578893 (patch) | |
| tree | 9228317b7ecfdb194ecdc62d1d5cc3f7251e5a27 /src | |
| parent | c0559a2a1d7d66b26e1d00b4ff59c7fce8848566 (diff) | |
Fix Bug 309760 - Crash while inline-renaming a file and apply change with return-key
BUG: 309760
FIXED-IN: 4.9.4
Diffstat (limited to 'src')
| -rw-r--r-- | src/kitemviews/private/kitemlistroleeditor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kitemviews/private/kitemlistroleeditor.cpp b/src/kitemviews/private/kitemlistroleeditor.cpp index ead5b298e..78dbfe95b 100644 --- a/src/kitemviews/private/kitemlistroleeditor.cpp +++ b/src/kitemviews/private/kitemlistroleeditor.cpp @@ -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: |
