We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 787acfa commit 5f1ff79Copy full SHA for 5f1ff79
1 file changed
qml/SettingsMenu.qml
@@ -69,6 +69,11 @@ SettingsMenuForm {
69
var cameraNameTemp = applicationSettings.cameraName
70
comboBoxCamera.model = makeCameraList();
71
var indexCamera = comboBoxCamera.indexOfValue(cameraNameTemp)
72
+ // if not found, select first camera
73
+ if(indexCamera === -1)
74
+ {
75
+ indexCamera = 0
76
+ }
77
comboBoxCamera.currentIndex = indexCamera
78
79
var index = comboBoxPrinter.indexOfValue(applicationSettings.printerName)
0 commit comments