mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 16:33:01 +00:00
try using 0
This commit is contained in:
parent
77798f6ed7
commit
2921f88895
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue