Changeset View
Changeset View
Standalone View
Standalone View
krusader/Panel/krviewitemdelegate.cpp
Context not available. | |||||
20 | 20 | | |||
---|---|---|---|---|---|
21 | #include "krviewproperties.h" | 21 | #include "krviewproperties.h" | ||
22 | #include "../krglobal.h" | 22 | #include "../krglobal.h" | ||
23 | #include "listpanel.h" | ||||
23 | 24 | | |||
24 | // QtGui | 25 | // QtGui | ||
25 | #include <QKeyEvent> | 26 | #include <QKeyEvent> | ||
Context not available. | |||||
134 | && qobject_cast<QDialog*>(QApplication::activeModalWidget())) | 135 | && qobject_cast<QDialog*>(QApplication::activeModalWidget())) | ||
135 | return false; | 136 | return false; | ||
136 | _currentlyEdited = -1; | 137 | _currentlyEdited = -1; | ||
138 | // manually set focus back to panel after rename canceled by focusing another window | ||||
139 | ACTIVE_PANEL->gui->slotFocusOnMe(); | ||||
137 | emit closeEditor(editor, RevertModelCache); | 140 | emit closeEditor(editor, RevertModelCache); | ||
138 | } | 141 | } | ||
139 | } else if (event->type() == QEvent::ShortcutOverride) { | 142 | } else if (event->type() == QEvent::ShortcutOverride) { | ||
Context not available. |