mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
parent
89f83f1023
commit
5f13c84719
@ -4317,7 +4317,7 @@ void Notepad_plus::dropFiles(HDROP hdrop)
|
|||||||
HWND hWin = ::ChildWindowFromPointEx(_pPublicInterface->getHSelf(), p, CWP_SKIPINVISIBLE);
|
HWND hWin = ::ChildWindowFromPointEx(_pPublicInterface->getHSelf(), p, CWP_SKIPINVISIBLE);
|
||||||
if (!hWin) return;
|
if (!hWin) return;
|
||||||
|
|
||||||
if ((_subEditView.getHSelf() == hWin) || (_subDocTab.getHSelf() == hWin))
|
if ((_subEditView.getHSelf() == hWin) || (_subDocTab.getHSelf() == hWin) || currentView() == SUB_VIEW)
|
||||||
switchEditViewTo(SUB_VIEW);
|
switchEditViewTo(SUB_VIEW);
|
||||||
else
|
else
|
||||||
switchEditViewTo(MAIN_VIEW);
|
switchEditViewTo(MAIN_VIEW);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user