File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ object connform: Tconnform
1212 Constraints.MinHeight = 338
1313 Constraints.MinWidth = 550
1414 DesignTimePPI = 120
15+ Position = poMainFormCenter
1516 ShowHint = True
1617 OnClose = FormClose
1718 OnCloseQuery = FormCloseQuery
Original file line number Diff line number Diff line change @@ -291,8 +291,6 @@ procedure Tconnform.FormCreate(Sender: TObject);
291291begin
292292 Width := AppSettings.ReadInt(asSessionManagerWindowWidth);
293293 Height := AppSettings.ReadInt(asSessionManagerWindowHeight);
294- Left := AppSettings.ReadInt(asSessionManagerWindowLeft, ' ' , Left);
295- Top := AppSettings.ReadInt(asSessionManagerWindowTop, ' ' , Top);
296294 // Move to visible area if window was on a now plugged off monitor previously
297295 MakeFullyVisible;
298296 pnlLeft.Width := AppSettings.ReadInt(asSessionManagerListWidth);
@@ -491,8 +489,6 @@ procedure Tconnform.FormDestroy(Sender: TObject);
491489 AppSettings.WriteInt(asSessionManagerListWidth, ScaleFormToDesign(pnlLeft.Width));
492490 AppSettings.WriteInt(asSessionManagerWindowWidth, ScaleFormToDesign(Width));
493491 AppSettings.WriteInt(asSessionManagerWindowHeight, ScaleFormToDesign(Height));
494- AppSettings.WriteInt(asSessionManagerWindowLeft, ScaleFormToDesign(Left));
495- AppSettings.WriteInt(asSessionManagerWindowTop, ScaleFormToDesign(Top));
496492 SaveListSetup(ListSessions);
497493end ;
498494
You can’t perform that action at this time.
0 commit comments