mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 22:49:30 +02:00
IdeDebugger: fix frame for editing Value-Converter
This commit is contained in:
parent
5892e97e99
commit
a7e4fabecc
@ -89,6 +89,7 @@ begin
|
||||
obj.Name := AName;
|
||||
// obj.MatchKinds := obj.Converter.GetSupportedKinds;
|
||||
FValConvList.Add(obj);
|
||||
FValConvList.Changed := True;
|
||||
|
||||
FillList;
|
||||
lstConverters.ItemIndex := lstConverters.Count-1;
|
||||
@ -106,6 +107,7 @@ begin
|
||||
if (i < 0) or (i >= FValConvList.Count-1) then
|
||||
exit;
|
||||
FValConvList.Move(i, i+1);
|
||||
FValConvList.Changed := True;
|
||||
|
||||
FillList;
|
||||
lstConverters.ItemIndex := i+1;
|
||||
@ -120,6 +122,7 @@ begin
|
||||
FCurConvConf := nil;
|
||||
i := lstConverters.ItemIndex;
|
||||
FValConvList.Delete(i);
|
||||
FValConvList.Changed := True;
|
||||
|
||||
FillList;
|
||||
if i >= lstConverters.Count then
|
||||
@ -138,6 +141,7 @@ begin
|
||||
if (i < 1) or (i > FValConvList.Count-1) then
|
||||
exit;
|
||||
FValConvList.Move(i, i-1);
|
||||
FValConvList.Changed := True;
|
||||
|
||||
FillList;
|
||||
lstConverters.ItemIndex := i-1;
|
||||
|
Loading…
Reference in New Issue
Block a user