From 8ea3863fc54185eff3d86a719a8bf61b3d9f2eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Tue, 29 Mar 2016 22:02:39 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: Correctly detect controls that do not need a real parent container when saving a form. * BUG: Prevent a possible crash when the mouse leaves the output console while it displays debug links to code source. git-svn-id: svn://localhost/gambas/trunk@7692 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- app/src/gambas3/.src/Component/CClassInfo.class | 2 +- app/src/gambas3/.src/Debug/FOutput.class | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/gambas3/.src/Component/CClassInfo.class b/app/src/gambas3/.src/Component/CClassInfo.class index 8afa8dc1a..a964dedb4 100644 --- a/app/src/gambas3/.src/Component/CClassInfo.class +++ b/app/src/gambas3/.src/Component/CClassInfo.class @@ -1021,7 +1021,7 @@ Public Sub ConstructorNeedParent() As Boolean hClass = Me Do hSym = hClass.Symbols["_new"] - If hSym And If hSym.Signature Then Return True + If hSym And If hSym.Signature And If Left(hSym.Signature) <> "[" Then Return True If Not hClass.Parent Then Return False hClass = Documentation.Classes[hClass.ParentComponent &/ hClass.Parent] Loop diff --git a/app/src/gambas3/.src/Debug/FOutput.class b/app/src/gambas3/.src/Debug/FOutput.class index 21dcbbaaa..014bfdf21 100644 --- a/app/src/gambas3/.src/Debug/FOutput.class +++ b/app/src/gambas3/.src/Debug/FOutput.class @@ -478,7 +478,7 @@ Public Sub edtOutput_Leave() If $iLinkLen Then $iLinkLen = 0 - edtOutput[$iLinkY].Refresh + Try edtOutput[$iLinkY].Refresh Endif End