From 0a146e331c2ab4425897c7bd88422ece32bddaa6 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Fri, 7 May 2010 13:19:48 +0000 Subject: [PATCH] fiche 14622 --- InterfaceQT4/browser.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/InterfaceQT4/browser.py b/InterfaceQT4/browser.py index 3c81d370..1252b4a1 100644 --- a/InterfaceQT4/browser.py +++ b/InterfaceQT4/browser.py @@ -42,7 +42,11 @@ class JDCTree( QTreeWidget ): self.setHeaderLabels(mesLabels) #self.setMinimumSize(QSize(600,505)) - self.setColumnWidth(0,300) + try : + self.setColumnWidth(0,300) + except : + QMessageBox.critical(self.editor, "L environnement doit etre en QT4") + exit self.itemCourrant=None self.connect(self, SIGNAL("itemClicked ( QTreeWidgetItem * ,int) "), self.handleOnItem) -- 2.39.2