mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
homescreens/folio: Fix settings window raise when already opened
This commit is contained in:
parent
f1aff0b13e
commit
c5fe3fc1eb
1 changed files with 5 additions and 1 deletions
|
|
@ -69,7 +69,11 @@ Item {
|
|||
implicitHeight: Kirigami.Units.gridUnit * 4
|
||||
implicitWidth: Kirigami.Units.gridUnit * 5
|
||||
|
||||
onClicked: settingsWindow.showMaximized()
|
||||
onClicked: {
|
||||
// ensure that if the window is already opened, it gets raised to the top
|
||||
settingsWindow.hide();
|
||||
settingsWindow.showMaximized();
|
||||
}
|
||||
}
|
||||
|
||||
QQC2.ToolButton {
|
||||
|
|
|
|||
Loading…
Reference in a new issue