Public bug reported:

Binary package hint: alacarte

When you delete an item from alacarte the undo functionality does not
work so the item is lost. This is because in deleteItem the copy for
undoing is saved _after_ the change has been made to "delete" the item
instead of before. James Westby noticed this and provided a simple fix
that moves the undo checkpoint before the file modification. This is a
very simple and obviously correct fix and I cannot see any way for it to
cause regressions. Note that this does not fix bug 118936, that bug is
for revert not restoring deleted items and there is no clear way to fix
it.

TEST CASE:
1. Highlight an item in alacarte
2. Press the delete key on your keyboard
3. Press Ctrl-Z to undo the change

** Affects: alacarte (Ubuntu)
     Importance: High
         Status: In Progress

-- 
undo does not work on deleted items
https://bugs.launchpad.net/bugs/225941
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to alacarte in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to