mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:57:35 +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
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
Add a link
Reference in a new issue