GlosSIConfig: Fix steam shortcuts updating when editing non added shortcuts

pull/192/head
Peter Repukat 2 years ago
parent 6e69b6ec1c
commit 20e86ce8e4

@ -475,13 +475,15 @@ Window {
if (windowContent.editedIndex < 0) { if (windowContent.editedIndex < 0) {
uiModel.addTarget(shortcut) uiModel.addTarget(shortcut)
} else { } else {
if (uiModel.updateTarget(windowContent.editedIndex, shortcut)) { if (uiModel.isInSteam(shortcut)) {
if (steamShortcutsChanged == false) { if (uiModel.updateTarget(windowContent.editedIndex, shortcut)) {
steamChangedDialog.open(); if (steamShortcutsChanged == false) {
} steamChangedDialog.open();
} else { }
manualInfo = uiModel.manualProps(shortcut); } else {
writeErrorDialog.open(); manualInfo = uiModel.manualProps(shortcut);
writeErrorDialog.open();
}
} }
} }
} }

Loading…
Cancel
Save