Commit 9d167a85 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Scale the statecharts according to window size

parent 834cd2b4
...@@ -2060,6 +2060,9 @@ class OG_MainWindow(QtGui.QMainWindow, object): ...@@ -2060,6 +2060,9 @@ class OG_MainWindow(QtGui.QMainWindow, object):
Statechart.render_statechart(self.statechart_scene, Statechart.render_statechart(self.statechart_scene,
graph) graph)
self.statechart_view.refresh() self.statechart_view.refresh()
except (IOError, TypeError) as err: except (IOError, TypeError) as err:
LOG.debug(str(err)) LOG.debug(str(err))
elif key_event.key() == Qt.Key_Colon: elif key_event.key() == Qt.Key_Colon:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment