Mercurial > lcfOS
changeset 83:762721284ec2
Added expand all
author | windel |
---|---|
date | Sun, 18 Nov 2012 14:13:52 +0100 |
parents | a47f6fec5435 |
children | 5205ebcfe6df |
files | python/apps/diagrameditor.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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):