controlcenter: minor adjustments of accordion menu

This commit is contained in:
ATMDA 2025-11-14 14:12:45 -05:00
parent 5994c77dea
commit c3f05b7f2f

View file

@ -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