mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 15:54:17 +02:00
Fix unusuability after deleting files in split view
Update _mainWindowStatus before switchEditViewTo for fixing hidden document-view after deleting files in both views from outside. Fix #15922, close #15923
This commit is contained in:
parent
af9af11aec
commit
d6169c418e
@ -4607,9 +4607,9 @@ void Notepad_plus::hideView(int whichOne)
|
|||||||
// resize the main window
|
// resize the main window
|
||||||
::SendMessage(_pPublicInterface->getHSelf(), WM_SIZE, 0, 0);
|
::SendMessage(_pPublicInterface->getHSelf(), WM_SIZE, 0, 0);
|
||||||
|
|
||||||
switchEditViewTo(otherFromView(whichOne));
|
|
||||||
auto viewToDisable = static_cast<UCHAR>(whichOne == SUB_VIEW ? WindowSubActive : WindowMainActive);
|
auto viewToDisable = static_cast<UCHAR>(whichOne == SUB_VIEW ? WindowSubActive : WindowMainActive);
|
||||||
_mainWindowStatus &= static_cast<UCHAR>(~viewToDisable);
|
_mainWindowStatus &= static_cast<UCHAR>(~viewToDisable);
|
||||||
|
switchEditViewTo(otherFromView(whichOne));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Notepad_plus::loadStyles()
|
bool Notepad_plus::loadStyles()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user