Skip to content

Commit 08bfd5a

Browse files
committed
patch
1 parent 8500589 commit 08bfd5a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Delphi/uMainForm.dfm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ object MainForm: TMainForm
2020
Align = alClient
2121
TabOrder = 0
2222
AutoSize = True
23-
ExplicitWidth = 837
24-
ExplicitHeight = 519
2523
object btnDesign: TcxButton
2624
Left = 287
2725
Top = 12

Delphi/uMainForm.pas

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ procedure TMainForm.LoadLayoutAndState;
8080

8181
dxDashboardControl1.DashboardName := DataModule1.mdLayoutsName.AsString;
8282
dxDashboardControl1.Layout.Assign(DataModule1.mdLayoutsLayout);
83-
if DataModule1.mdLayoutsState.IsNull then
84-
dxDashboardControl1.State.Assign(nil)
85-
else
83+
if not DataModule1.mdLayoutsState.IsNull then
8684
dxDashboardControl1.State.Assign(DataModule1.mdLayoutsState);
8785
end;
8886

0 commit comments

Comments
 (0)