controlcenter: minor adjustments of accordion menu
This commit is contained in:
parent
5994c77dea
commit
c3f05b7f2f
1 changed files with 14 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue