Added DB autoload on startup option
This commit is contained in:
@@ -23,10 +23,12 @@ Window {
|
||||
|
||||
signal saveMaterialAccent(string arg)
|
||||
signal saveMaterialTheme(string arg)
|
||||
signal saveAutoload(int arg)
|
||||
|
||||
function saveAll() {
|
||||
saveMaterialAccent(comboBoxAccent.currentText)
|
||||
saveMaterialTheme(comboBoxTheme.currentText)
|
||||
saveAutoload(checkBoxAutoload.checked)
|
||||
}
|
||||
|
||||
function loadMaterialAccent(accent) {
|
||||
@@ -47,6 +49,14 @@ Window {
|
||||
}
|
||||
}
|
||||
|
||||
function loadAutoload(toggle) {
|
||||
if (toggle) {
|
||||
checkBoxAutoload.checked = true
|
||||
} else {
|
||||
checkBoxAutoload.checked = false
|
||||
}
|
||||
}
|
||||
|
||||
DialogMessage {
|
||||
id: dialogPreferencesSaved
|
||||
modal: true
|
||||
@@ -132,6 +142,21 @@ Window {
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
|
||||
Label {
|
||||
text: "Auto-load SigID Database on Startup"
|
||||
font.pixelSize: 12
|
||||
clip: true
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
CheckBox {
|
||||
id: checkBoxAutoload
|
||||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user