diff options
| author | ATMDA <atdma2600@gmail.com> | 2025-11-14 14:12:45 -0500 |
|---|---|---|
| committer | ATMDA <atdma2600@gmail.com> | 2025-11-14 14:12:45 -0500 |
| commit | c3f05b7f2feb680dc62c953ed87f945bfb615fe0 (patch) | |
| tree | 4910229207c27382adf6e5db921bf1d459e4be86 /modules/controlcenter | |
| parent | controlcenter: minor adjustments of accordion menu (diff) | |
| download | caelestia-shell-c3f05b7f2feb680dc62c953ed87f945bfb615fe0.tar.gz caelestia-shell-c3f05b7f2feb680dc62c953ed87f945bfb615fe0.tar.bz2 caelestia-shell-c3f05b7f2feb680dc62c953ed87f945bfb615fe0.zip | |
controlcenter: minor adjustments of accordion menu
Diffstat (limited to 'modules/controlcenter')
| -rw-r--r-- | modules/controlcenter/audio/AudioPane.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/controlcenter/audio/AudioPane.qml b/modules/controlcenter/audio/AudioPane.qml index 616d479..732bb89 100644 --- a/modules/controlcenter/audio/AudioPane.qml +++ b/modules/controlcenter/audio/AudioPane.qml @@ -62,6 +62,13 @@ RowLayout { title: qsTr("Output devices") expanded: true + onToggleRequested: { + if (!expanded) { + // Opening output devices, close input devices + inputDevicesSection.expanded = false; + } + } + ColumnLayout { Layout.fillWidth: true spacing: Appearance.spacing.small @@ -142,6 +149,13 @@ RowLayout { title: qsTr("Input devices") expanded: true + onToggleRequested: { + if (!expanded) { + // Opening input devices, close output devices + outputDevicesSection.expanded = false; + } + } + ColumnLayout { Layout.fillWidth: true spacing: Appearance.spacing.small |