Skip to content

Commit eddac63

Browse files
committed
Resolve url before checking
1 parent 2954638 commit eddac63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: qml/main.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ApplicationWindow {
2626
for (var i = 0; i < 6; i++) {
2727
var name = "savedata/custom" + i + ".nfy"
2828
var filename = StandardPaths.locate(StandardPaths.AppConfigLocation, name)
29-
if(!filename) {
29+
if (Qt.resolvedUrl(filename) == "") {
3030
continue
3131
}
3232
var newName = "savedata/custom" + i + ".neuronify"

0 commit comments

Comments
 (0)