keep track of opened, saved file to appropriately prompt save xml when needed, add Save As menu option
This commit is contained in:
parent
7dee59e86e
commit
f50c1e4db4
2 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,7 @@ class Menubar(tk.Menu):
|
|||
)
|
||||
self.app.bind_all("<Control-o>", self.menuaction.file_open_xml)
|
||||
menu.add_command(label="Save", accelerator="Ctrl+S", command=self.save)
|
||||
menu.add_command(label="Save As", command=self.menuaction.file_save_as_xml)
|
||||
menu.add_command(label="Reload", underline=0, state=tk.DISABLED)
|
||||
self.app.bind_all("<Control-s>", self.save)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue