mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Restore main window if minimized to taskbar. IsWindowVisible is also true when window is minimized. Closes #1207
This commit is contained in:
@@ -2017,7 +2017,7 @@ begin
|
||||
// FreeMemory(Dat.lpData);
|
||||
|
||||
// Bring first instance to front
|
||||
if not IsWindowVisible(Wnd) then
|
||||
if IsIconic(Wnd) then
|
||||
ShowWindow(Wnd, SW_RESTORE);
|
||||
BringWindowToTop(Wnd);
|
||||
SetForegroundWindow(Wnd);
|
||||
|
||||
Reference in New Issue
Block a user