Skip to content

Commit

Permalink
canvas/widgetscheme: Change call order
Browse files Browse the repository at this point in the history
show before restoring the state
  • Loading branch information
ales-erjavec committed Jul 6, 2018
1 parent 8c022da commit 40711da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/canvas/scheme/widgetsscheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,8 +725,8 @@ def restore_window_state(self, state):
w = None
for node, state in filter(lambda t: t[0] in allnodes, state):
w = self.widget_for_node(node) # also create it if needed
w.restoreGeometryAndLayoutState(QByteArray(state))
w.show()
w.restoreGeometryAndLayoutState(QByteArray(state))
w.raise_()
self.__mark_activated(w)

Expand Down

0 comments on commit 40711da

Please sign in to comment.