Fix bug with use of drawer hiding when not wideScreen
Make drawer reappear when resized from narrow to wide screen if drawer was closed in narrow mode.
This commit is contained in:
parent
120218b7c1
commit
cb51cb4adf
1 changed files with 6 additions and 0 deletions
|
@ -17,6 +17,12 @@ Kirigami.ApplicationWindow
|
|||
width: 900
|
||||
height: 500
|
||||
|
||||
onWideScreenChanged: {
|
||||
if (wideScreen) {
|
||||
drawer.open()
|
||||
}
|
||||
}
|
||||
|
||||
Kirigami.Action {
|
||||
id: findDevicesAction
|
||||
text: i18nd("kdeconnect-app", "Find devices...")
|
||||
|
|
Loading…
Reference in a new issue