Skip to content

Commit cffd161

Browse files
committed
better save dialogs
1 parent 192506a commit cffd161

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

haxe/ui/backend/SaveFileDialogBase.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ class SaveFileDialogBase {
6767

6868
private function dialogCancelled() {
6969
saveResult = false;
70+
this.selectedFileInfo = null;
71+
this.fileInfo = null;
72+
this.fullPath = null;
73+
7074
if (callback != null) {
7175
callback(DialogButton.CANCEL, saveResult, null);
7276
}

0 commit comments

Comments
 (0)