statusicons: made panel open in detach to match the bluetooth icon
This commit is contained in:
parent
16ab93f637
commit
a48bb8a0a3
1 changed files with 2 additions and 4 deletions
|
|
@ -4,7 +4,6 @@ import qs.components
|
||||||
import qs.components.controls
|
import qs.components.controls
|
||||||
import qs.services
|
import qs.services
|
||||||
import qs.config
|
import qs.config
|
||||||
import qs.modules.controlcenter
|
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Services.Pipewire
|
import Quickshell.Services.Pipewire
|
||||||
import QtQuick
|
import QtQuick
|
||||||
|
|
@ -118,8 +117,7 @@ Item {
|
||||||
color: Colours.palette.m3onPrimaryContainer
|
color: Colours.palette.m3onPrimaryContainer
|
||||||
|
|
||||||
function onClicked(): void {
|
function onClicked(): void {
|
||||||
root.wrapper.hasCurrent = false;
|
root.wrapper.detach("audio");
|
||||||
WindowFactory.create(null, { active: "audio" });
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -131,7 +129,7 @@ Item {
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
Layout.leftMargin: Appearance.padding.smaller
|
Layout.leftMargin: Appearance.padding.smaller
|
||||||
text: qsTr("Open settings")
|
text: qsTr("Open panel")
|
||||||
color: Colours.palette.m3onPrimaryContainer
|
color: Colours.palette.m3onPrimaryContainer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue