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:
rhin123 2019-07-15 16:07:24 -05:00 committed by Andreas Kling
parent 1bcf3968f2
commit fdb365856d
Notes: sideshowbarker 2024-07-19 13:15:35 +09:00

View file

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