Browse Source

Change dialog action from "Save" to "Open"

This is because there is yet no text box for the user to write the file name.
crazyBaboon 3 years ago
parent
commit
8f2ccedfa4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      demo/common/file_browser.c

+ 1 - 1
demo/common/file_browser.c

@@ -491,7 +491,7 @@ file_browser_run(struct file_browser *browser, struct nk_context *ctx)
                 fprintf(stdout, "File dialog has been closed!\n");
                 file_browser_is_open = nk_false;
             }            
-            if(nk_button_label(ctx, "Save"))
+            if(nk_button_label(ctx, "Open"))
                 fprintf(stdout, "Insert routine to open/save the file!\n");
         }
         nk_end(ctx);