Skip to content

Commit 15997d6

Browse files
FIX: improve UI
1 parent e947073 commit 15997d6

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

src/ufpc_understand.pas

+2-2
Original file line numberDiff line numberDiff line change
@@ -1148,9 +1148,9 @@
11481148
fChanged := false;
11491149
If (cnt <> 0) Or (fFiles.LPISource <> '') Then Begin
11501150
If (fFiles.RootFolder = '') Or ((fFiles.RootFolder <> '') And Not DirectoryExistsUTF8(fFiles.RootFolder)) Then Begin
1151-
ShowMessage('Your project root folder seems to be invalid (old value was: "' + fFiles.RootFolder + '"), please select a correct one for: ' + fGeneral.ProjectName);
1151+
ShowMessage('Your project root folder seems to be invalid, please select a correct one for: ' + fFiles.LPISource);
11521152
fFiles.RootFolder := '';
1153-
If SelectDirectory('Root folder for: ' + fGeneral.ProjectName, '', fFiles.RootFolder) Then Begin
1153+
If SelectDirectory('Root folder for: ' + fFiles.LPISource, '', fFiles.RootFolder) Then Begin
11541154
fFiles.RootFolder := IncludeTrailingPathDelimiter(fFiles.RootFolder);
11551155
fChanged := true;
11561156
End;

src/unit1.lfm

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ object Form1: TForm1
99
ClientWidth = 760
1010
Menu = MainMenu1
1111
Position = poScreenCenter
12-
LCLVersion = '3.99.0.0'
12+
LCLVersion = '4.99.0.0'
1313
OnCloseQuery = FormCloseQuery
1414
OnCreate = FormCreate
1515
OnDropFiles = FormDropFiles
@@ -39,9 +39,9 @@ object Form1: TForm1
3939
end
4040
object Label1: TLabel
4141
Left = 304
42-
Height = 15
42+
Height = 16
4343
Top = 160
44-
Width = 122
44+
Width = 140
4545
Caption = 'Nothing loaded, please'
4646
end
4747
object Button1: TButton
@@ -64,9 +64,9 @@ object Form1: TForm1
6464
end
6565
object Label2: TLabel
6666
Left = 368
67-
Height = 15
67+
Height = 16
6868
Top = 208
69-
Width = 11
69+
Width = 13
7070
Caption = 'or'
7171
end
7272
object MainMenu1: TMainMenu

src/unit1.pas

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(******************************************************************************)
22
(* FPC Understand 30.03.2023 *)
33
(* *)
4-
(* Version : 0.29 *)
4+
(* Version : 0.30 *)
55
(* *)
66
(* Author : Uwe Schächterle (Corpsman) *)
77
(* *)
@@ -68,6 +68,7 @@
6868
(* FIX: Set carety when showing code editor *)
6969
(* 0.28 - FIX: invalid Rootfolder *)
7070
(* 0.29 - FIX: automatically add .lpi path to searchpaths *)
71+
(* 0.30 - FIX: select root folder dialog was not clear enough *)
7172
(* *)
7273
(* Known Bugs : - if a project holds 2 units with the same name *)
7374
(* the dependency graph will merge them to one *)
@@ -96,7 +97,7 @@
9697
StdCtrls, ugraphs, ufpc_understand, ufpcparser, LvlGraphCtrl, Types;
9798

9899
Const
99-
Version = '0.29';
100+
Version = '0.30';
100101
ScrollDelta = 25;
101102

102103
Type

0 commit comments

Comments
 (0)