diff options
author | infirit <[email protected]> | 2015-07-23 15:52:28 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-23 15:52:28 +0200 |
commit | 88361f74932dcb205678cc444df89d71e3d2017d (patch) | |
tree | efc24abb587eb0851cbe1c9a62d50f09bc565a80 /Mozo | |
parent | d90c52eb26922929fa99e5ae604f2e177cb7b515 (diff) | |
download | mozo-88361f74932dcb205678cc444df89d71e3d2017d.tar.bz2 mozo-88361f74932dcb205678cc444df89d71e3d2017d.tar.xz |
make undo work when deleting files
https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/225941
Diffstat (limited to 'Mozo')
-rw-r--r-- | Mozo/MenuEditor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mozo/MenuEditor.py b/Mozo/MenuEditor.py index 5fd5726..2370657 100644 --- a/Mozo/MenuEditor.py +++ b/Mozo/MenuEditor.py @@ -348,8 +348,8 @@ class MenuEditor: self.save() def deleteItem(self, item): - self.__writeItem(item, hidden=True) self.__addUndo([item,]) + self.__writeItem(item, hidden=True) self.save() def deleteMenu(self, menu): |