mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #1503: fix unsaved setup of columns in lists on object editors (table + routine editors effectively are the only ones with lists)
This commit is contained in:
@ -85,8 +85,8 @@ type
|
||||
{ Public declarations }
|
||||
Parameters: TRoutineParamList;
|
||||
constructor Create(AOwner: TComponent); override;
|
||||
destructor Destroy; override;
|
||||
procedure Init(Obj: TDBObject); override;
|
||||
function DeInit: TModalResult; override;
|
||||
function ApplyModifications: TModalResult; override;
|
||||
end;
|
||||
|
||||
@ -117,14 +117,6 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
destructor TfrmRoutineEditor.Destroy;
|
||||
begin
|
||||
// Store GUI setup
|
||||
TExtForm.SaveListSetup(listParameters);
|
||||
inherited;
|
||||
end;
|
||||
|
||||
|
||||
procedure TfrmRoutineEditor.Init(Obj: TDBObject);
|
||||
var
|
||||
i: Integer;
|
||||
@ -191,6 +183,14 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
function TfrmRoutineEditor.DeInit: TModalResult;
|
||||
begin
|
||||
// Store GUI setup
|
||||
TExtForm.SaveListSetup(listParameters);
|
||||
Result := inherited;
|
||||
end;
|
||||
|
||||
|
||||
procedure TfrmRoutineEditor.Modification(Sender: TObject);
|
||||
begin
|
||||
Modified := True;
|
||||
|
Reference in New Issue
Block a user