From fabc78f5db572d63d3225cafd97884825e4e7f04 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 17 Nov 2013 20:35:44 -0600 Subject: call it button_new instead of new "new" is sometimes a reserved keyword and it would be nice to not use that name. --- pokemontools/map_editor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pokemontools/map_editor.py b/pokemontools/map_editor.py index c30fcd8..78edee0 100644 --- a/pokemontools/map_editor.py +++ b/pokemontools/map_editor.py @@ -149,10 +149,10 @@ class Application(Frame): self.picker_frame = Frame(self) self.picker_frame.grid(row=1, column=1) - self.new = Button(self.button_frame) - self.new["text"] = "New" - self.new["command"] = self.new_map - self.new.grid(row=0, column=0, padx=2) + self.button_new = Button(self.button_frame) + self.button_new["text"] = "New" + self.button_new["command"] = self.new_map + self.button_new.grid(row=0, column=0, padx=2) self.open = Button(self.button_frame) self.open["text"] = "Open" -- cgit v1.2.3