about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xmiasm/graph/graph_qt.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/miasm/graph/graph_qt.py b/miasm/graph/graph_qt.py
index decb20a6..40507ca6 100755
--- a/miasm/graph/graph_qt.py
+++ b/miasm/graph/graph_qt.py
@@ -683,6 +683,9 @@ class MainWindow(QtGui.QWidget):
             self.scene.removeItem(e)
         self.scene_edges = []
         self.scene.clear()
+        w = self.scene.width()
+        h = self.scene.height()
+        self.scene.update(0, 0, w, h)
 
         if not all_bloc:
             print 'DIS', hex(ad)