Skip to content

Commit 3a07f01

Browse files
committed
Fixed cancel closing bug.
#56
1 parent 3663c1b commit 3a07f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/main.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2278,7 +2278,7 @@ procedure TMainForm.actCloseProjectExecute(Sender: TObject);
22782278
ClassBrowser.EndUpdate;
22792279
end;
22802280
finally
2281-
MainPanel.Visible := True;
2281+
if not Assigned(fProject) then MainPanel.Visible := True;
22822282
GetProjectHistory;
22832283
FileMonitor.EndUpdate;
22842284
end;

0 commit comments

Comments
 (0)