mirror of
https://github.com/TrianguloY/LightningLauncher.git
synced 2025-01-13 20:01:34 +01:00
Fix undo/redo operations on folders
This commit is contained in:
parent
26fa970473
commit
f892fd575f
1 changed files with 2 additions and 2 deletions
|
@ -543,7 +543,7 @@ public class UndoStack {
|
|||
|
||||
try {
|
||||
int zorder = page.items.indexOf(new_item);
|
||||
page.removeItem(new_item, false);
|
||||
page.removeItem(new_item, true);
|
||||
|
||||
exchangeFilesWithUndo(icons, true, false); // restore old files from temp
|
||||
Item old_item = Item.loadItemFromJSONObject(page, mOldJsonItem);
|
||||
|
@ -566,7 +566,7 @@ public class UndoStack {
|
|||
|
||||
try {
|
||||
int zorder = page.items.indexOf(old_item);
|
||||
page.removeItem(old_item, false);
|
||||
page.removeItem(old_item, true);
|
||||
|
||||
exchangeFilesWithUndo(icons, false, false); // restore new files from temp
|
||||
Item new_item = Item.loadItemFromJSONObject(page, mNewJsonItem);
|
||||
|
|
Loading…
Reference in a new issue