Trigger redraw on load factory default styles

pull/978/head
robnee 2021-03-27 11:35:59 -04:00 committed by phkahler
parent 53f5e4e7e5
commit d511ce4acc
1 changed files with 1 additions and 0 deletions

View File

@ -389,6 +389,7 @@ void TextWindow::ScreenShowStyleInfo(int link, uint32_t v) {
void TextWindow::ScreenLoadFactoryDefaultStyles(int link, uint32_t v) { void TextWindow::ScreenLoadFactoryDefaultStyles(int link, uint32_t v) {
Style::LoadFactoryDefaults(); Style::LoadFactoryDefaults();
SS.TW.GoToScreen(Screen::LIST_OF_STYLES); SS.TW.GoToScreen(Screen::LIST_OF_STYLES);
SS.GW.persistentDirty = true;
} }
void TextWindow::ScreenCreateCustomStyle(int link, uint32_t v) { void TextWindow::ScreenCreateCustomStyle(int link, uint32_t v) {