Change dialog action from "Save" to "Open"
This is because there is yet no text box for the user to write the file name.
This commit is contained in:
parent
8377f9147a
commit
8f2ccedfa4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user