glcd: fix change of font

Origin commit data
------------------
Commit: f431b6ff4a
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-07-04 (Sat, 04 Jul 2020)

Origin message was:
------------------
- glcd: fix change of font
This commit is contained in:
vanhofen
2020-07-04 21:31:23 +02:00
parent a06e296681
commit be72920ba5
2 changed files with 3 additions and 1 deletions

View File

@@ -174,7 +174,7 @@ int GLCD_Menu::exec(CMenuTarget* parent, const std::string & actionKey)
if (fileBrowser.exec(FONTDIR) == true)
{
t.glcd_font = fileBrowser.getSelectedFile()->Name;
cglcd->Rescan();
cglcd->ReInitFont();
}
return res;
}