From: Pascale Noyret Date: Mon, 7 Nov 2011 10:34:03 +0000 (+0000) Subject: copier en bleu X-Git-Tag: LOGILAB~289 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=57784e37c33df1da59e358b2a561850cfaa6c523;p=tools%2Feficas.git copier en bleu --- diff --git a/InterfaceQT4/editor.py b/InterfaceQT4/editor.py index 8bea42a3..c037daff 100644 --- a/InterfaceQT4/editor.py +++ b/InterfaceQT4/editor.py @@ -388,8 +388,8 @@ class JDCEditor(QSplitter): """ Stocke dans Eficas.noeud_a_editer le noeud a copier """ - #print "handleEditCut" self.chercheNoeudSelectionne() + self.node_selected.update_node_label_in_blue() self.QWParent.edit="copier" self.QWParent.noeud_a_editer = self.node_selected @@ -639,6 +639,7 @@ class JDCEditor(QSplitter): if path is None: path=self.CONFIGURATION.savedir bOK, fn=self.determineNomFichier(path,extension) + if fn == None : return (0, None) if fn.isNull(): return (0, None) ulfile = os.path.abspath(unicode(fn))