Fix regression in profile popups
Without the public ids on the pop ups other buttons that used the buttons did not work.
This commit is contained in:
@@ -29,9 +29,11 @@ MyStackViewPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PttNewProfileDialog {
|
PttNewProfileDialog {
|
||||||
|
id: pttNewProfileDialog
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioNewProfileDialog {
|
AudioNewProfileDialog {
|
||||||
|
id: audioNewProfileDialog
|
||||||
}
|
}
|
||||||
|
|
||||||
content: ColumnLayout {
|
content: ColumnLayout {
|
||||||
@@ -249,9 +251,6 @@ MyStackViewPage {
|
|||||||
onPttRightControllerEnabledChanged: {
|
onPttRightControllerEnabledChanged: {
|
||||||
audioPttRightControllerToggle.checked = AudioTabController.pttRightControllerEnabled
|
audioPttRightControllerToggle.checked = AudioTabController.pttRightControllerEnabled
|
||||||
}
|
}
|
||||||
onAudioProfileDefaultChanged: {
|
|
||||||
audioDefaultProfileToggle.checked = AudioTabController.audioProfileDefault
|
|
||||||
}
|
|
||||||
onPttProfilesUpdated: {
|
onPttProfilesUpdated: {
|
||||||
reloadPttProfiles()
|
reloadPttProfiles()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import "../.." //common imports
|
|||||||
|
|
||||||
MyDialogOkCancelPopup {
|
MyDialogOkCancelPopup {
|
||||||
id: audioNewProfileDialog
|
id: audioNewProfileDialog
|
||||||
|
property alias defaultProfileToggle: test.audioDefaultProfileToggle.checked
|
||||||
dialogTitle: "Create New Audio Profile"
|
dialogTitle: "Create New Audio Profile"
|
||||||
dialogWidth: 600
|
dialogWidth: 600
|
||||||
dialogHeight: 300
|
dialogHeight: 300
|
||||||
@@ -56,6 +57,13 @@ MyDialogOkCancelPopup {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Connections {
|
||||||
|
target: AudioTabController
|
||||||
|
onAudioProfileDefaultChanged: {
|
||||||
|
defaultProfileToggle = AudioTabController.audioProfileDefault
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function openPopup() {
|
function openPopup() {
|
||||||
audioNewProfileName.text = ""
|
audioNewProfileName.text = ""
|
||||||
open()
|
open()
|
||||||
|
|||||||
Reference in New Issue
Block a user