Skip to content

Commit

Permalink
Fixed JS
Browse files Browse the repository at this point in the history
  • Loading branch information
SeeLook committed Feb 11, 2025
1 parent 62c5185 commit 88c82ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qml/DialogLoader.qml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Dialog {
nootkaWindow.executor.init(1, examFile);
close();
}
onOpenLevel: {
onOpenLevel: levelFile => {
page = Nootka.LevelCreator;
currentDialog.openLevel(levelFile);
}
Expand Down
2 changes: 1 addition & 1 deletion src/qml/MainWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ ApplicationWindow {
examResults.destroy();
}
}
function onWantOpenFile() : void {
function onWantOpenFile(fileName: string) : void {
showDialog(Nootka.NoDialog);
dialogLoader.openFile(fileName);
}
Expand Down

0 comments on commit 88c82ca

Please sign in to comment.