commit 94c4abf486be836f7d1a08cbce2fde24aefbd562
parent 7998fed49db3b0d6e49833216887dc4189da443b
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Wed, 15 Jan 2014 17:46:24 -0800
Don't silently override images
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/spek-window.cc b/src/spek-window.cc
@@ -277,7 +277,7 @@ void SpekWindow::on_save(wxCommandEvent&)
this->cur_dir,
wxEmptyString,
filters,
- wxFD_SAVE
+ wxFD_SAVE | wxFD_OVERWRITE_PROMPT
);
// Suggested name is <file_name>.png