try using 0

This commit is contained in:
tildearrow 2022-03-29 16:18:38 -05:00
parent 77798f6ed7
commit 2921f88895
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ bool FurnaceGUIFileDialog::render(const ImVec2& min, const ImVec2& max) {
if (sysDialog) { if (sysDialog) {
if (saving) { if (saving) {
if (dialogS!=NULL) { if (dialogS!=NULL) {
if (dialogS->ready(1)) { if (dialogS->ready(0)) {
fileName=dialogS->result(); fileName=dialogS->result();
logD("returning %s\n",fileName.c_str()); logD("returning %s\n",fileName.c_str());
return true; return true;
@ -71,7 +71,7 @@ bool FurnaceGUIFileDialog::render(const ImVec2& min, const ImVec2& max) {
} }
} else { } else {
if (dialogO!=NULL) { if (dialogO!=NULL) {
if (dialogO->ready(1)) { if (dialogO->ready(0)) {
if (dialogO->result().empty()) { if (dialogO->result().empty()) {
fileName=""; fileName="";
logD("returning nothing\n"); logD("returning nothing\n");