diff libgui/src/m-editor/file-editor-tab.h @ 18082:c3e7da9836bd stable

allow saving an editor file as the current one (bug #40759) * file-editor-tab.cc (handle_save_file_as_answer): just save the file if the selected file name is the same as the current file name (handle_save_file_as_answer_close): removed the case that the selected file name is the same as the current one because the latter is not valid here (message_duplicate_file_name): removed message since not needed anymore * file-editor-tab.h: removed message_duplicate_file_name
author Torsten <ttl@justmail.de>
date Thu, 05 Dec 2013 06:49:48 +0100
parents a761ba02a52f
children f26d527c1a71
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.h	Wed Dec 04 14:51:45 2013 -0800
+++ b/libgui/src/m-editor/file-editor-tab.h	Thu Dec 05 06:49:48 2013 +0100
@@ -179,7 +179,6 @@
   bool valid_file_name (const QString& file=QString ());
   void save_file (const QString& saveFileName, bool remove_on_success = false);
   void save_file_as (bool remove_on_success = false);
-  void message_duplicate_file_name (const QString& fileName);
 
   void update_lexer ();
   void request_add_breakpoint (int line);