diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index df4abcd6d..fe2ba9f0e 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -8530,6 +8530,8 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa { _activeAppInf._isActivated = true; checkModifiedDocument(); + if (::IsIconic(_hSelf)) + ::ShowWindow(_hSelf, SW_RESTORE); return FALSE; } }