[ion/storage] Added the "ctrl-z" system everywhere

This commit is contained in:
Laury
2022-02-19 12:09:02 +01:00
parent f3d632c462
commit af5f9ea578
13 changed files with 128 additions and 28 deletions

View File

@@ -200,6 +200,11 @@ bool FunctionListController::handleEvent(Ion::Events::Event event) {
}
return true;
}
if (event == Ion::Events::ShiftBack) {
Ion::Storage::sharedStorage()->reinsertTrash(recordExtension());
selectableTableView()->reloadData();
return true;
}
return false;
}