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 #11411pull/11428/head
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…
Reference in New Issue