Skip to content

Commit

Permalink
fix window-restore for 2nd instance, #2322:
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Feb 18, 2020
1 parent 0186d66 commit 23f2c84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/formmain_commandline.inc
Expand Up @@ -199,7 +199,7 @@ begin

if WindowState = wsMinimized then
begin
WindowState:= wsNormal;
Application.Restore;
Application.ProcessMessages;
end;
end;
Expand All @@ -215,7 +215,7 @@ begin

if WindowState=wsMinimized then
begin
WindowState:= wsNormal;
Application.Restore;
Application.ProcessMessages;
end;

Expand Down

0 comments on commit 23f2c84

Please sign in to comment.