mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-25 23:05:13 +02:00
Fix Document list not sync with tab order after sorting
Document List now updates itself with respect to the tabs sorted by the windows dialog Fix #11272, close #11411
This commit is contained in:
parent
6086e819fd
commit
32580e6a80
@ -2879,6 +2879,9 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||
_pDocTab->setBuffer(i, tempBufs[nmdlg->Items[i]]);
|
||||
}
|
||||
activateBuffer(_pDocTab->getBufferByIndex(_pDocTab->getCurrentTabIndex()), currentView());
|
||||
|
||||
::SendMessage(_pDocTab->getHParent(), NPPM_INTERNAL_DOCORDERCHANGED, 0, _pDocTab->getCurrentTabIndex());
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user