mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:19:47 +02:00
parent
8295aac859
commit
d369e9fa44
@ -800,10 +800,10 @@ end;
|
||||
|
||||
function TValueListEditor.InsertRow(const KeyName, Value: string; Append: Boolean): Integer;
|
||||
var
|
||||
NewInd, NewCol: Integer;
|
||||
NewInd, NewRow: Integer;
|
||||
Line: String;
|
||||
begin
|
||||
if (KeyName <> '') and (Value <> '') then
|
||||
if not ((KeyName = '') and (Value = '')) then
|
||||
Line := KeyName + Strings.NameValueSeparator + Value
|
||||
else
|
||||
Line := '';
|
||||
@ -832,8 +832,8 @@ begin
|
||||
NewInd := Row - FixedRows;
|
||||
end;
|
||||
Result := NewInd;
|
||||
NewCol := NewInd + FixedRows;
|
||||
if (NewCol <> Col) then Col := NewCol;
|
||||
NewRow := NewInd + FixedRows;
|
||||
if (NewRow <> Row) then Row := NewRow;
|
||||
end;
|
||||
|
||||
procedure TValueListEditor.InsertRowWithValues(Index: Integer;
|
||||
|
Loading…
Reference in New Issue
Block a user