Skip to content

Commit bf0463b

Browse files
committed
fix: re-enable setting width of helpers box on query tabs
https://www.heidisql.com/forum.php?t=45368
1 parent 0fec887 commit bf0463b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎source/main.pas‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2554,8 +2554,8 @@ function TMainForm.RestoreTabs: Boolean;
25542554
if EditorHeight > 50 then
25552555
Tab.pnlMemo.Height := EditorHeight;
25562556
// Causes sporadic long-waiters:
2557-
//if HelpersWidth > 50 then
2558-
// Tab.pnlHelpers.Width := HelpersWidth;
2557+
if HelpersWidth > 50 then
2558+
Tab.pnlHelpers.Width := HelpersWidth;
25592559
Tab.ListBindParams.AsText := BindParams;
25602560
Tab.BindParamsActivated := Tab.ListBindParams.Count > 0;
25612561
Tab.Memo.TopLine := EditorTopLine;
@@ -2577,8 +2577,8 @@ function TMainForm.RestoreTabs: Boolean;
25772577
if EditorHeight > 50 then
25782578
Tab.pnlMemo.Height := EditorHeight;
25792579
// Causes sporadic long-waiters:
2580-
//if HelpersWidth > 50 then
2581-
// Tab.pnlHelpers.Width := HelpersWidth;
2580+
if HelpersWidth > 50 then
2581+
Tab.pnlHelpers.Width := HelpersWidth;
25822582
Tab.ListBindParams.AsText := BindParams;
25832583
Tab.BindParamsActivated := Tab.ListBindParams.Count > 0;
25842584
Tab.Memo.TopLine := EditorTopLine;

0 commit comments

Comments
 (0)