Commit 04270309 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix scene refresh when going up to parent scene

parent c489f3fa
......@@ -1434,7 +1434,10 @@ class SDL_View(QtGui.QGraphicsView, object):
self.set_toolbar()
if not self.scene_stack:
self.up_button.setEnabled(False)
self.refresh()
self.setSceneRect(self.scene().sceneRect())
self.viewport().update()
#self.scene().refresh()
#self.refresh()
self.horizontalScrollBar().setSliderPosition(horpos)
self.verticalScrollBar().setSliderPosition(verpos)
sdlSymbols.CONTEXT = self.context_history.pop()
......
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