p99 - graphing now removes old graph on refresh

This commit is contained in:
steffen123 2008-09-24 04:01:38 +01:00
parent 6304790f38
commit fef324b854
2 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,6 @@ Please also see db-todo.txt
alpha4 (release 25Sep-2Oct)
======
graph: doesnt remove old graph on refresh
print a "press any key" thing after we print the traceback. That way it is easy for them to see the error message.
pgsql recreate doesnt work, and it may not store version field on creation if using sql file with pgadmin.
reading small blind wrong for PS 25/50ct
check we're reading mucked cards from PS

View File

@ -39,6 +39,9 @@ class GuiGraphViewer (threading.Thread):
#end def get_vbox
def showClicked(self, widget, data):
try: self.canvas.destroy()
except AttributeError: pass
name=self.nameTBuffer.get_text(self.nameTBuffer.get_start_iter(), self.nameTBuffer.get_end_iter())
site=self.siteTBuffer.get_text(self.siteTBuffer.get_start_iter(), self.siteTBuffer.get_end_iter())