From 3846f2b5bdc3a80104bf4b8c705d795699f9a5ff Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Tue, 4 Feb 2020 10:03:10 -0800 Subject: [PATCH] removed hard coded example recent files --- daemon/core/gui/menubar.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/daemon/core/gui/menubar.py b/daemon/core/gui/menubar.py index 29db70b1..3342b087 100644 --- a/daemon/core/gui/menubar.py +++ b/daemon/core/gui/menubar.py @@ -59,14 +59,7 @@ class Menubar(tk.Menu): self.app.bind_all("", self.save) # some hard code values for testing - sample_xmls = [ - "sample1.xml", - "/home/ncs/.coretk/xmls/sample1.xml", - "sample1.xml", - ] recent = tk.Menu(menu) - for i in sample_xmls: - recent.add_command(label=i, command=partial(self.open_recent_files, i)) menu.add_cascade(label="Recent files", menu=recent) menu.add_separator() menu.add_command(label="Export Python script...", state=tk.DISABLED)