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]]);
|
_pDocTab->setBuffer(i, tempBufs[nmdlg->Items[i]]);
|
||||||
}
|
}
|
||||||
activateBuffer(_pDocTab->getBufferByIndex(_pDocTab->getCurrentTabIndex()), currentView());
|
activateBuffer(_pDocTab->getBufferByIndex(_pDocTab->getCurrentTabIndex()), currentView());
|
||||||
|
|
||||||
|
::SendMessage(_pDocTab->getHParent(), NPPM_INTERNAL_DOCORDERCHANGED, 0, _pDocTab->getCurrentTabIndex());
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue