SVN commit 1216195 by ppenz: When editing the name of file items opening a context-menu for the text-editor may not result in closing the rename-operation. Thanks to Zé for the patch! CCBUG: 182353 M +6 -0 kfileitemdelegate.cpp --- trunk/KDE/kdelibs/kio/kio/kfileitemdelegate.cpp #1216194:1216195 @@ -1666,10 +1666,16 @@ case QEvent::FocusOut: { + const QWidget *w = QApplication::activePopupWidget(); + if (!w || w->parent() != editor) + { emit commitData(editor); emit closeEditor(editor, NoHint); return true; } + else + return false; + } default: return false;