mirror of
https://github.com/lubosz/overte.git
synced 2025-08-29 05:26:58 +02:00
Save selected device in settings to make sure it will not be changed back in Menu
This commit is contained in:
parent
d0111ac0bb
commit
fa9a4053ca
1 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,7 @@ Rectangle {
|
|||
onCheckBoxClicked: {
|
||||
if (checked) {
|
||||
AudioDevice.setInputDeviceAsync(devicename)
|
||||
Settings.setValue("audio_input_device", devicename);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -218,6 +219,7 @@ Rectangle {
|
|||
onCheckBoxClicked: {
|
||||
if (checked) {
|
||||
AudioDevice.setOutputDeviceAsync(devicename)
|
||||
Settings.setValue("audio_output_device", devicename);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue