mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-24 22:34:54 +02:00
Fix Synch H/V Scrolling commands not sync with 2 views
Fix #5250, fix #13071, close #13069
This commit is contained in:
parent
9285bf2d42
commit
0d9b16634d
@ -796,6 +796,8 @@ void Notepad_plus::doClose(BufferID id, int whichOne, bool doDeleteBackup)
|
||||
_pDocumentListPanel->closeItem(hiddenBufferID, whichOne);
|
||||
}
|
||||
|
||||
checkSyncState();
|
||||
|
||||
// Notify plugins that current file is closed
|
||||
if (isBufRemoved)
|
||||
{
|
||||
@ -2331,6 +2333,8 @@ bool Notepad_plus::loadSession(Session & session, bool isSnapshotMode, bool shou
|
||||
else if (canHideView(currentView()))
|
||||
hideView(currentView());
|
||||
|
||||
checkSyncState();
|
||||
|
||||
if (_pDocumentListPanel)
|
||||
_pDocumentListPanel->reload();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user