FEXQonfig: Implement "Save As"

This commit is contained in:
Tony Wasserka 2024-08-22 14:55:04 +02:00
parent 5d5b411611
commit aa4205c2e8

View File

@ -137,9 +137,13 @@ ApplicationWindow {
onTriggered: root.save("")
}
Action {
// TODO
text: qsTr("Save &as...")
shortcut: StandardKey.SaveAs
onTriggered: {
openFileDialog.openAndThen(() => {
root.save(configFilename)
});
}
}
MenuSeparator {}
Action {