mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps] When entering in exam mode (reset), destroy all recorded
expression variables
This commit is contained in:
@@ -95,6 +95,9 @@ App::Snapshot * AppsContainer::usbConnectedAppSnapshot() {
|
||||
}
|
||||
|
||||
void AppsContainer::reset() {
|
||||
// Empty stored variable
|
||||
Ion::Storage::sharedStorage()->destroyRecordsWithExtension("exp");
|
||||
// Empty clipboard
|
||||
Clipboard::sharedClipboard()->reset();
|
||||
for (int i = 0; i < numberOfApps(); i++) {
|
||||
appSnapshotAtIndex(i)->reset();
|
||||
|
||||
Reference in New Issue
Block a user