Add warning popup when old settings.json detected

This commit is contained in:
miruka
2021-01-19 13:22:29 -04:00
parent 5dfe700880
commit 86f0a8a6a0
6 changed files with 85 additions and 3 deletions

View File

@@ -61,6 +61,10 @@ QtObject {
py.showError(type, traceback, "", message)
}
function onPre070SettingsDetected(path) {
window.makePopup("Popups/Pre070SettingsDetectedPopup.qml", {path})
}
function onUserFileChanged(type, newData) {
if (type === "Theme") {
window.theme = Qt.createQmlObject(newData, window, "theme")