mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-09-26 03:18:47 +02:00
parent
2439a4eec0
commit
4969f377ad
@ -3541,8 +3541,11 @@ int Notepad_plus::switchEditViewTo(int gid)
|
|||||||
_pDocMap->initWrapMap();
|
_pDocMap->initWrapMap();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Before switching off, synchronize backup file
|
if (NppParameters::getInstance()->getNppGUI().isSnapshotMode())
|
||||||
MainFileManager->backupCurrentBuffer();
|
{
|
||||||
|
// Before switching off, synchronize backup file
|
||||||
|
MainFileManager->backupCurrentBuffer();
|
||||||
|
}
|
||||||
|
|
||||||
notifyBufferActivated(_pEditView->getCurrentBufferID(), currentView());
|
notifyBufferActivated(_pEditView->getCurrentBufferID(), currentView());
|
||||||
return oldView;
|
return oldView;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user