UI: Fix previewLabel styling

Label renders with default styling instead of using dynamic property
because it was already polished.
This commit is contained in:
Kurt Kartaltepe
2020-04-04 18:57:31 -07:00
parent dbb453d00b
commit 14480fe025

View File

@@ -385,6 +385,7 @@ OBSBasic::OBSBasic(QWidget *parent)
statsDock->move(newPos);
ui->previewLabel->setProperty("themeID", "previewProgramLabels");
ui->previewLabel->style()->polish(ui->previewLabel);
bool labels = config_get_bool(GetGlobalConfig(), "BasicWindow",
"StudioModeLabels");