mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
qt: Ignore GUIUtil::updateFont calls until GUIUtil::loadFonts was called (#3687)
This commit is contained in:
parent
608f481a9c
commit
50d7a2fecf
@ -1555,6 +1555,11 @@ void setFixedPitchFont(const std::vector<QWidget*>& vecWidgets)
|
||||
|
||||
void updateFonts()
|
||||
{
|
||||
// Fonts need to be loaded by GUIIUtil::loadFonts(), if not just return.
|
||||
if (!osDefaultFont) {
|
||||
return;
|
||||
}
|
||||
|
||||
setApplicationFont();
|
||||
|
||||
auto getKey = [](QWidget* w) -> QString {
|
||||
|
Loading…
Reference in New Issue
Block a user