Browse Source

Fix to querywindow.pas

Moved line 1656 below RemovePreviousResultTabs to fix exceptions in
Win32
fschetterer 11 years ago
parent
commit
7926ba315f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      querywindow.pas

+ 2 - 1
querywindow.pas

@@ -1653,8 +1653,9 @@ begin
     OnCommit:= nil;
     OnCommit:= nil;
   end;
   end;
   FIBConnection.Close;
   FIBConnection.Close;
-  OutputTabsList.Free;
+  //   OutputTabsList.Free;  causes exception, still used in RemovePreviousResultTabs
   RemovePreviousResultTabs;
   RemovePreviousResultTabs;
+  OutputTabsList.Free;
   CloseAction:= caFree;
   CloseAction:= caFree;
 end;
 end;