mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +00:00
GFilePicker: Changed file_exists MessageBox to warning
Forgot to remove Error in the title. Going to be replaced by YesNo GMessagebox in the future.
This commit is contained in:
parent
1bcf3968f2
commit
fdb365856d
Notes:
sideshowbarker
2024-07-19 13:15:35 +09:00
Author: https://github.com/RyanGrieb Commit: https://github.com/SerenityOS/serenity/commit/fdb365856d0 Pull-request: https://github.com/SerenityOS/serenity/pull/307 Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ Optional<String> GFilePicker::get_save_filepath()
|
|||
|
||||
if (GFilePicker::file_exists(file_path)) {
|
||||
//TODO: Add Yes, No Messagebox to give the user a proper option
|
||||
GMessageBox::show("File already exists: Overwrite?\n", "Error", GMessageBox::Type::Information, &picker);
|
||||
GMessageBox::show("File already exists: Overwrite?\n", "Warning", GMessageBox::Type::Warning, &picker);
|
||||
return file_path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue