about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2011-08-28 18:39:14 +0200
committerserpilliere <devnull@localhost>2011-08-28 18:39:14 +0200
commitbd4b8fd3b1993761e2ff960e61fc0beae59e166b (patch)
tree769c815721efc44701f14f4fe1463fc2cbc787d3
parentb90343ca415119d9e997c01cc3335691eee1220f (diff)
downloadmiasm-bd4b8fd3b1993761e2ff960e61fc0beae59e166b.tar.gz
miasm-bd4b8fd3b1993761e2ff960e61fc0beae59e166b.zip
fix graphic bug
Diffstat (limited to '')
-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)