# HG changeset patch # User windel # Date 1353244432 -3600 # Node ID 762721284ec24560f6df9e9ec402d6c5b2f1c2bc # Parent a47f6fec54357535d658bfe1b3a2b53abd42b081 Added expand all diff -r a47f6fec5435 -r 762721284ec2 python/apps/diagrameditor.py --- a/python/apps/diagrameditor.py Sun Nov 18 13:09:10 2012 +0100 +++ b/python/apps/diagrameditor.py Sun Nov 18 14:13:52 2012 +0100 @@ -335,6 +335,7 @@ if m: self.treeView.setModel(m) self.diagram = m.rootDiagram + self.model.modelReset.connect(self.treeView.expandAll) model = property(getModel, setModel) diagram = property(lambda s: s.scene(), setDiagram) def save(self):