Salome HOME
projects
/
tools
/
eficas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
optim eciture
[tools/eficas.git]
/
InterfaceQT4
/
compofact.py
diff --git
a/InterfaceQT4/compofact.py
b/InterfaceQT4/compofact.py
index 1a367f60d6b99ef7675af23bbfcdfca96a92cf9a..6dfe35844516a31fb987e32350473784c104e8ff 100644
(file)
--- a/
InterfaceQT4/compofact.py
+++ b/
InterfaceQT4/compofact.py
@@
-67,6
+67,7
@@
class FACTTreeItem(Objecttreeitem.ObjectTreeItem):
- la couleur du texte
"""
# None --> fonte et couleur par defaut
+ if not(hasattr(self.object,'getlabeltext')): return self.object.nom,None,None
return self.object.getlabeltext(),None,None
def isvalid(self):