Skip to content

Commit

Permalink
fix(color): extra sliders and trims on main view after creating a new…
Browse files Browse the repository at this point in the history
… model (#4919)
philmoz authored Apr 25, 2024
1 parent 7791216 commit 4f0d168
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions radio/src/storage/sdcard_common.cpp
Original file line number Diff line number Diff line change
@@ -130,6 +130,10 @@ const char * createModel()
storageDirty(EE_GENERAL);
storageDirty(EE_MODEL);
storageCheck(true);
#if defined(COLORLCD)
// Default layout loaded when setting model defaults - neeed to remove it.
LayoutFactory::deleteCustomScreens();
#endif
}
postModelLoad(false);

0 comments on commit 4f0d168

Please sign in to comment.