mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[apps/editor_controller] Handle deleted scripts in cleanStorageEmptySpace
This commit is contained in:
@@ -130,7 +130,7 @@ StackViewController * EditorController::stackController() {
|
||||
}
|
||||
|
||||
void EditorController::cleanStorageEmptySpace() {
|
||||
if (m_script.isNull()) {
|
||||
if (m_script.isNull() || !Ion::Storage::sharedStorage()->hasRecord(m_script)) {
|
||||
return;
|
||||
}
|
||||
Ion::Storage::Record::Data scriptValue = m_script.value();
|
||||
|
||||
Reference in New Issue
Block a user