[BUG_FIXED] Fix bug that backup is not performed while view is switched from one to another.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1237 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
e3208e4ce2
commit
dacbb4bc0a
@ -3057,6 +3057,9 @@ int Notepad_plus::switchEditViewTo(int gid)
|
||||
_pDocMap->initWrapMap();
|
||||
}
|
||||
|
||||
// Before switching off, synchronize backup file
|
||||
MainFileManager->backupCurrentBuffer();
|
||||
|
||||
notifyBufferActivated(_pEditView->getCurrentBufferID(), currentView());
|
||||
return oldView;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user