diff --git a/src/gui/MainPane/MainPane.qml b/src/gui/MainPane/MainPane.qml index f5b955f7..ce8d464a 100644 --- a/src/gui/MainPane/MainPane.qml +++ b/src/gui/MainPane/MainPane.qml @@ -10,6 +10,9 @@ HDrawer { color: theme.mainPane.background minimumSize: theme.controls.avatar.size + theme.spacing * 2 + onHasFocusChanged: + if (! hasFocus) mainPaneList.detachedCurrentIndex = false + readonly property bool hasFocus: toolBar.filterField.activeFocus readonly property alias mainPaneList: mainPaneList