mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-09-25 19:08:47 +02:00
parent
2439a4eec0
commit
4969f377ad
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user