try using 0

This commit is contained in:
tildearrow 2022-03-29 16:18:38 -05:00
parent 77798f6ed7
commit 2921f88895

View file

@ -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");