From a04d1a91136f5b38622e6f4a876d0cb9779fa416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 13 Apr 2012 12:56:39 +0000 Subject: [PATCH] [GB.FORM.MDI] * BUG: ToolBar: Fix separators automatic hiding. git-svn-id: svn://localhost/gambas/trunk@4620 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- comp/src/gb.form.mdi/.src/ToolBar/FToolBar.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp/src/gb.form.mdi/.src/ToolBar/FToolBar.class b/comp/src/gb.form.mdi/.src/ToolBar/FToolBar.class index 77c8fd418..b7f5d766f 100644 --- a/comp/src/gb.form.mdi/.src/ToolBar/FToolBar.class +++ b/comp/src/gb.form.mdi/.src/ToolBar/FToolBar.class @@ -1184,7 +1184,7 @@ Private Sub CheckSeparators() If hChild Is Separator Then hChild.Hide Continue - Else If hChild.Expand Then + Else If hLast And If hChild.Expand Then hLast.Hide Endif Endif