# HG changeset patch # User Torsten # Date 1348253254 -7200 # Node ID 63dd6c30b29426be4867262b9dae3eed44526563 # Parent 0a0912a9ab6ead16e39a902f9e2f821b94131de5 disable notification of modified file while saving * file-editor-tab.cc: remove the file from tracker list before saving diff --git a/libgui/src/m-editor/file-editor-tab.cc b/libgui/src/m-editor/file-editor-tab.cc --- a/libgui/src/m-editor/file-editor-tab.cc +++ b/libgui/src/m-editor/file-editor-tab.cc @@ -597,6 +597,11 @@ return save_file_as(); } + // remove the file to save from the tracker since we will change it on disk now + QStringList watched_files = _file_system_watcher.files(); + if (!watched_files.isEmpty ()) + _file_system_watcher.removePath(saveFileName); + // open the file for writing QFile file (saveFileName); if (!file.open (QFile::WriteOnly))