From 94c4abf486be836f7d1a08cbce2fde24aefbd562 Mon Sep 17 00:00:00 2001 From: Alexander Kojevnikov Date: Wed, 15 Jan 2014 17:46:24 -0800 Subject: [PATCH] Don't silently override images --- src/spek-window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spek-window.cc b/src/spek-window.cc index ee8e262..2ca61e5 100644 --- 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 .png