summaryrefslogtreecommitdiff
path: root/modules/controlcenter/audio
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-14 14:12:45 -0500
committerATMDA <atdma2600@gmail.com>2025-11-14 14:12:45 -0500
commitc3f05b7f2feb680dc62c953ed87f945bfb615fe0 (patch)
tree4910229207c27382adf6e5db921bf1d459e4be86 /modules/controlcenter/audio
parentcontrolcenter: minor adjustments of accordion menu (diff)
downloadcaelestia-shell-c3f05b7f2feb680dc62c953ed87f945bfb615fe0.tar.gz
caelestia-shell-c3f05b7f2feb680dc62c953ed87f945bfb615fe0.tar.bz2
caelestia-shell-c3f05b7f2feb680dc62c953ed87f945bfb615fe0.zip
controlcenter: minor adjustments of accordion menu
Diffstat (limited to 'modules/controlcenter/audio')
-rw-r--r--modules/controlcenter/audio/AudioPane.qml14
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