From: Pascale Noyret Date: Fri, 9 Nov 2007 16:04:34 +0000 (+0000) Subject: PN pas d erreur si on clique sans avoir de JDC actif sur le rapport ou le source X-Git-Tag: V1_13b1~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f5c6baa3cff41053886c2b03b414fe82583f9fc5;p=modules%2Feficas.git PN pas d erreur si on clique sans avoir de JDC actif sur le rapport ou le source --- diff --git a/InterfaceQT/viewManager.py b/InterfaceQT/viewManager.py index 29c8b0e8..62133da5 100644 --- a/InterfaceQT/viewManager.py +++ b/InterfaceQT/viewManager.py @@ -1064,7 +1064,7 @@ class ViewManager: self.connect(editor, PYSIGNAL('modificationStatusChanged'), self.handleModificationStatusChanged) self.connect(editor, PYSIGNAL('cursorChanged'), self.handleCursorChanged) - self.connect(editor, PYSIGNAL('editorSaved'), self.handleEditorSaved) + self.connect(editor, PYSIGNAL('editorSaved'), self.handleEditorSaved) self.connect(editor, PYSIGNAL('breakpointToggled'), self.handleBreakpointToggled) self.connect(editor, PYSIGNAL('bookmarkToggled'), self.handleBookmarkToggled) self.connect(editor, PYSIGNAL('syntaxerrorToggled'), self.handleSyntaxErrorToggled) @@ -1128,9 +1128,11 @@ class ViewManager: def handleViewJdcFichierSource(self): + if self.activeWindow()== None : return self.activeWindow().viewJdcSource() def handleViewJdcRapport(self): + if self.activeWindow()== None : return self.activeWindow().viewJdcRapport() def handleNewProject(self):