diff --git a/src/gui/fileDialog.cpp b/src/gui/fileDialog.cpp index 79a87f3ed..95a6ac7b7 100644 --- a/src/gui/fileDialog.cpp +++ b/src/gui/fileDialog.cpp @@ -63,7 +63,7 @@ bool FurnaceGUIFileDialog::render(const ImVec2& min, const ImVec2& max) { if (sysDialog) { if (saving) { if (dialogS!=NULL) { - if (dialogS->ready(1)) { + if (dialogS->ready(0)) { fileName=dialogS->result(); logD("returning %s\n",fileName.c_str()); return true; @@ -71,7 +71,7 @@ bool FurnaceGUIFileDialog::render(const ImVec2& min, const ImVec2& max) { } } else { if (dialogO!=NULL) { - if (dialogO->ready(1)) { + if (dialogO->ready(0)) { if (dialogO->result().empty()) { fileName=""; logD("returning nothing\n");