summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI
diff options
context:
space:
mode:
authorrhin123 <ryanrhin@gmail.com>2019-07-15 16:07:24 -0500
committerAndreas Kling <awesomekling@gmail.com>2019-07-16 08:34:51 +0200
commitfdb365856d055967171c310d59df84058a1bce14 (patch)
tree81b51b1b42f32dfabcba04dde046404d7b63d54b /Libraries/LibGUI
parent1bcf3968f23eedab1ef87e5ee825bb5aa7af0d17 (diff)
downloadserenity-fdb365856d055967171c310d59df84058a1bce14.zip
GFilePicker: Changed file_exists MessageBox to warning
Forgot to remove Error in the title. Going to be replaced by YesNo GMessagebox in the future.
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r--Libraries/LibGUI/GFilePicker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GFilePicker.cpp b/Libraries/LibGUI/GFilePicker.cpp
index 3ac50850d5..0d197ad81d 100644
--- a/Libraries/LibGUI/GFilePicker.cpp
+++ b/Libraries/LibGUI/GFilePicker.cpp
@@ -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;
}