Changeset 156
- Timestamp:
- Aug 19, 2024, 8:35:07 AM (4 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Core.pas
r153 r156 267 267 if (DesignDPI.X <> DPI.X) or (DesignDPI.Y <> DPI.Y) then begin 268 268 //ApplyToAll(DesignDPI); 269 {for I := 0 to Screen.FormCount - 1 do269 for I := 0 to Screen.FormCount - 1 do 270 270 if (Screen.Forms[I].WindowState = wsNormal) or 271 271 (Screen.Forms[I].WindowState = wsMinimized) then begin … … 273 273 ScaleDimensions(Screen.Forms[I], StoredDimension); 274 274 end; 275 }ScaleImageList(ImageListMain, DesignDPI);275 ScaleImageList(ImageListMain, DesignDPI); 276 276 end; 277 277 end; -
trunk/Forms/FormMain.pas
r155 r156 212 212 PageControlMain.TabIndex := 0; 213 213 try 214 if Core.Core.LastOpenedList.Items.Count = 0 then 215 Core.Core.LastOpenedList.Items.Add(CombinePaths(Core.Core.DataDir, ExamplesDir + DirectorySeparator + 'Sierpinski.b')); 216 214 217 if Core.Core.OpenProjectOnStart and (Core.Core.LastOpenedList.Items.Count > 0) and 215 218 FileExists(Core.Core.LastOpenedList.Items[0]) then … … 744 747 begin 745 748 if Core.Core.LastOpenedList.Items.Count > 0 then 746 FileName := Core.Core.LastOpenedList.Items[0] 747 else FileName := CombinePaths(Core.Core.DataDir, ExamplesDir); 749 FileName := Core.Core.LastOpenedList.Items[0]; 748 750 OpenDialog1.InitialDir := ExtractFileDir(FileName); 749 751 OpenDialog1.FileName := ExtractFileName(FileName);
Note:
See TracChangeset
for help on using the changeset viewer.