From ca191de4326328594bfa00c896888a2cdc4500b1 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Fri, 3 Dec 2010 14:00:16 +0000 Subject: [PATCH] bug mineur --- InterfaceQT4/qtCommun.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InterfaceQT4/qtCommun.py b/InterfaceQT4/qtCommun.py index 41ae6473..205c0f54 100644 --- a/InterfaceQT4/qtCommun.py +++ b/InterfaceQT4/qtCommun.py @@ -47,7 +47,8 @@ class QTPanel: def GestionBALpha(self,fenetre): if self.TWChoix.currentIndex()!=0: - self.BAlpha.hide() + if hasattr(self,'BAlpha'): #pour include materiau + self.BAlpha.hide() else : self.BAlpha.setVisible(True) self.BuildLBMCPermis() -- 2.39.2