Skip to content

Commit

Permalink
better save dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Jan 25, 2025
1 parent 192506a commit cffd161
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions haxe/ui/backend/SaveFileDialogBase.hx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ class SaveFileDialogBase {

private function dialogCancelled() {
saveResult = false;
this.selectedFileInfo = null;
this.fileInfo = null;
this.fullPath = null;

if (callback != null) {
callback(DialogButton.CANCEL, saveResult, null);
}
Expand Down

0 comments on commit cffd161

Please sign in to comment.