[Horus] Impossible to remove widgets in layouts

This commit is contained in:
Bertrand Songis
2016-05-23 21:20:55 +02:00
parent 144710f1f7
commit b7ad1ea226
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ void onZoneMenu(const char * result)
pushMenu(menuWidgetSettings);
}
else if (result == STR_REMOVE_WIDGET) {
currentContainer->setWidget(currentZone, NULL);
currentContainer->createWidget(currentZone, NULL);
storageDirty(EE_MODEL);
}
}