diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index f5dacbc50..16ab83dd0 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -3541,8 +3541,11 @@ int Notepad_plus::switchEditViewTo(int gid) _pDocMap->initWrapMap(); } - // Before switching off, synchronize backup file - MainFileManager->backupCurrentBuffer(); + if (NppParameters::getInstance()->getNppGUI().isSnapshotMode()) + { + // Before switching off, synchronize backup file + MainFileManager->backupCurrentBuffer(); + } notifyBufferActivated(_pEditView->getCurrentBufferID(), currentView()); return oldView;