mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Do not cache dialog instances any longer. OnCreate code is mostly very quick, and caching them adds quite some pitfalls into the code. Not to mention 30 lines less code in main.pas now :)
This commit is contained in:
@ -49,6 +49,7 @@ type
|
||||
Column: TColumnIndex);
|
||||
procedure editFilterChange(Sender: TObject);
|
||||
procedure editFilterRightButtonClick(Sender: TObject);
|
||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||
|
||||
private
|
||||
{ Private declarations }
|
||||
@ -98,6 +99,12 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TfrmSQLhelp.FormClose(Sender: TObject; var Action: TCloseAction);
|
||||
begin
|
||||
Action := caFree;
|
||||
end;
|
||||
|
||||
|
||||
procedure TfrmSQLhelp.treeTopicsFocusChanged(Sender: TBaseVirtualTree; Node: PVirtualNode;
|
||||
Column: TColumnIndex);
|
||||
var
|
||||
|
Reference in New Issue
Block a user