diff options
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 |