mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 07:30:19 +02:00
* Fix verb execution
This commit is contained in:
parent
77c1d9b1f2
commit
c1e69fee44
@ -522,7 +522,7 @@ end;
|
||||
procedure TSQLDBRestSchemaComponentEditor.ExecuteVerb(Index: Integer);
|
||||
|
||||
Const
|
||||
idxSave = 2;
|
||||
idxSave = 1;
|
||||
|
||||
Var
|
||||
FN : UTF8String;
|
||||
@ -536,7 +536,7 @@ begin
|
||||
begin
|
||||
FN:=Component.Name+'.json';
|
||||
if GetFileName(FN, Format(SJSONFilesFilter, [allFilesMask]), Index=idxSave) then
|
||||
if idxSave=2 then
|
||||
if idxSave=Index then
|
||||
S.SaveToFile(FN)
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user