- do not show a property in a tree if it has no namespace (i.e. association

between two components)
This commit is contained in:
wrobell 2010-02-04 00:05:29 +00:00
parent 21658eeeaf
commit ed616728f0

View File

@ -178,6 +178,8 @@ class NamespaceModel(gtk.GenericTreeModel):
""" """
if type(element) not in self.filter: if type(element) not in self.filter:
return return
if type(element) == UML.Property and element.namespace is None:
return
if element.namespace and type(element.namespace) not in self.filter: if element.namespace and type(element.namespace) not in self.filter:
return return