add recent files to gui.yaml for keeping track of recent files

This commit is contained in:
Huy Pham 2020-02-04 13:00:00 -08:00
parent 6140ebfb59
commit bdbf5fac61
2 changed files with 18 additions and 1 deletions

View file

@ -409,7 +409,7 @@ class Menubar(tk.Menu):
menu.add_command(label="About", command=self.menuaction.show_about)
self.add_cascade(label="Help", menu=menu)
def save(self):
def save(self, event=None):
xml_file = self.app.core.xml_file
if xml_file:
self.app.core.save_xml(xml_file)