summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <[email protected]>2012-05-09 15:34:07 -0300
committerAlexei Sorokin <[email protected]>2016-08-22 23:03:32 +0300
commit870210e6ed51a47e3054026d92cc712381353b46 (patch)
treefc089c5809e7d2762e11627e59620fc021bc0a79
parent41bebb09eec4c7087f7fd5ad0ae595af8401627e (diff)
downloadmozo-870210e6ed51a47e3054026d92cc712381353b46.tar.bz2
mozo-870210e6ed51a47e3054026d92cc712381353b46.tar.xz
MenuEditor: undo and redo lists should not be global
-rw-r--r--Mozo/MenuEditor.py7
1 files 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()