mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Create missing gridresult on a new query tab. Fixes an access violation.
This commit is contained in:
@ -9080,6 +9080,7 @@ begin
|
||||
QueryTabs.Add(TQueryTab.Create);
|
||||
QueryTab := QueryTabs[QueryTabs.Count-1] as TQueryTab;
|
||||
QueryTab.Number := i;
|
||||
QueryTab.GridResult := TGridResult.Create;
|
||||
|
||||
QueryTab.TabSheet := TTabSheet.Create(PageControlMain);
|
||||
QueryTab.TabSheet.PageControl := PageControlMain;
|
||||
|
Reference in New Issue
Block a user