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:
crazyBaboon 2022-03-29 21:00:45 +01:00 committed by GitHub
parent 8377f9147a
commit 8f2ccedfa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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