Reselect the right room when main pane loses focus
This commit is contained in:
parent
aafbecfdda
commit
89ee4c2361
|
@ -10,6 +10,9 @@ HDrawer {
|
||||||
color: theme.mainPane.background
|
color: theme.mainPane.background
|
||||||
minimumSize: theme.controls.avatar.size + theme.spacing * 2
|
minimumSize: theme.controls.avatar.size + theme.spacing * 2
|
||||||
|
|
||||||
|
onHasFocusChanged:
|
||||||
|
if (! hasFocus) mainPaneList.detachedCurrentIndex = false
|
||||||
|
|
||||||
|
|
||||||
readonly property bool hasFocus: toolBar.filterField.activeFocus
|
readonly property bool hasFocus: toolBar.filterField.activeFocus
|
||||||
readonly property alias mainPaneList: mainPaneList
|
readonly property alias mainPaneList: mainPaneList
|
||||||
|
|
Loading…
Reference in New Issue
Block a user