Commit MetaInfo

Révisioned296b7143c631dfca9f3bbf7be1cc2437107e63 (tree)
l'heure2021-11-22 19:50:46
Auteuryamat0jp <yamat0jp@yaho...>
Commiteryamat0jp

Message de Log

inputDataのリスト表示でバグがあったのを直した

Change Summary

Modification

--- a/OKCANCL2.pas
+++ b/OKCANCL2.pas
@@ -48,12 +48,17 @@ procedure TOKRightDlg.FormShow(Sender: TObject);
4848 var
4949 i, j: Integer;
5050 obj: TObject;
51+ s: string;
5152 begin
5253 for i := 0 to list.Count - 1 do
5354 begin
5455 obj := list.Objects[i];
5556 j := ValueListEditor1.Strings.IndexOfObject(obj);
56- ValueListEditor1.Strings[j] := list[i];
57+ if j > -1 then
58+ begin
59+ s := ValueListEditor1.Keys[j + 1];
60+ ValueListEditor1.Values[s] := list.ValueFromIndex[i];
61+ end;
5762 end;
5863 list.Assign(ValueListEditor1.Strings);
5964 list.Sort;
--- a/Unit1.pas
+++ b/Unit1.pas
@@ -168,6 +168,8 @@ var
168168 line: TMyLine;
169169 i: integer;
170170 begin
171+ if stack.Count = 0 then
172+ Exit;
171173 obj := stack.Pop;
172174 if obj is TMyLine then
173175 begin
--- a/arrow.dproj
+++ b/arrow.dproj
@@ -5,8 +5,8 @@
55 <FrameworkType>VCL</FrameworkType>
66 <MainSource>arrow.dpr</MainSource>
77 <Base>True</Base>
8- <Config Condition="'$(Config)'==''">Release</Config>
9- <Platform Condition="'$(Platform)'==''">Win64</Platform>
8+ <Config Condition="'$(Config)'==''">Debug</Config>
9+ <Platform Condition="'$(Platform)'==''">Win32</Platform>
1010 <TargetedPlatforms>3</TargetedPlatforms>
1111 <AppType>Application</AppType>
1212 </PropertyGroup>
Afficher sur ancien navigateur de dépôt.