From 870210e6ed51a47e3054026d92cc712381353b46 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 9 May 2012 15:34:07 -0300 Subject: MenuEditor: undo and redo lists should not be global --- Mozo/MenuEditor.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Mozo/MenuEditor.py b/Mozo/MenuEditor.py index 7474dcd..f6068b5 100644 --- a/Mozo/MenuEditor.py +++ b/Mozo/MenuEditor.py @@ -28,13 +28,12 @@ class Menu: dom = None class MenuEditor: - #lists for undo/redo functionality - __undo = [] - __redo = [] - def __init__(self): self.locale = locale.getdefaultlocale()[0] self.__loadMenus() + self.__undo = [] + self.__redo = [] + def __loadMenus(self): self.applications = Menu() -- cgit v1.2.1