Skip to content

Commit

Permalink
Fixed cancel closing bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
FMXExpress committed Oct 30, 2020
1 parent 3663c1b commit 3a07f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2278,7 +2278,7 @@ procedure TMainForm.actCloseProjectExecute(Sender: TObject);
ClassBrowser.EndUpdate;
end;
finally
MainPanel.Visible := True;
if not Assigned(fProject) then MainPanel.Visible := True;
GetProjectHistory;
FileMonitor.EndUpdate;
end;
Expand Down

0 comments on commit 3a07f01

Please sign in to comment.