From 4cad70e4b704b64640550a252064540b7b879c93 Mon Sep 17 00:00:00 2001 From: Lincoln de Sousa Date: Tue, 12 Aug 2008 02:53:35 -0300 Subject: [PATCH] Returning the self.draw.queque_draw in Gzv.remove_fp, the reall problem was the lack of reset in the coordinates now they are being correctly reseted in Gzv.finish_drawing --- gzv.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gzv.py b/gzv.py index 59c04d5..b927dc0 100644 --- a/gzv.py +++ b/gzv.py @@ -266,6 +266,7 @@ class Gzv(GladeLoader): if i.position == int(position): self.balls.remove(i) del model[path] + self.draw.queue_draw() def save_fp_list(self, *args): assert self.project is not None @@ -336,7 +337,9 @@ class Gzv(GladeLoader): self.model.append([position, '']) self.treeview.set_cursor(str(position), self.fpcolumn, True) - # returning to the standard radius + # reseting to the default coordenades + self.start_x = -1 + self.start_y = -1 self.radius = Ball.DEFAULT_WIDTH if __name__ == '__main__': -- 2.20.1