mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
add quit event handler to python console
This commit is contained in:
parent
ecab7968e2
commit
4868e046c3
@ -75,6 +75,10 @@ class Console (cons.Console):
|
||||
""" Button press event """
|
||||
return self.refresh()
|
||||
|
||||
def quit_event (self, widget, event):
|
||||
""" Event handler for closing of console window """
|
||||
return self.quit()
|
||||
|
||||
def refresh (self):
|
||||
""" Refresh drawing """
|
||||
for fig in self.figures:
|
||||
|
Loading…
Reference in New Issue
Block a user