From: Lincoln de Sousa Date: Tue, 12 Aug 2008 05:53:35 +0000 (-0300) Subject: Returning the self.draw.queque_draw in Gzv.remove_fp, X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fmovie.git;a=commitdiff_plain;h=4cad70e4b704b64640550a252064540b7b879c93 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 --- 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__':