Skip to content

Commit

Permalink
Fix regression on document reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuperino committed Sep 28, 2024
1 parent f5ad44f commit 00fb79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prompter/Prompter.qml
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ Flickable {
onAccepted: {
document.close()
document.load(openDialog.file)
editor.lastDocument = document.file;
editor.lastDocument = document.fileUrl;
editor.resetPosition = true;
if (parseInt(prompter.state)!==Prompter.States.Editing)
prompter.state = Prompter.States.Editing;
Expand Down

0 comments on commit 00fb79c

Please sign in to comment.