mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 05:35:48 +00:00
Make checkerboard colours update immediately when theme changes
This commit is contained in:
@@ -255,7 +255,9 @@ bool PersistantConfig::SetStyle()
|
||||
{
|
||||
if(UIStyle == rdcstr(StyleData::availStyles[i].styleID))
|
||||
{
|
||||
QApplication::setStyle(StyleData::availStyles[i].creator());
|
||||
QStyle *style = StyleData::availStyles[i].creator();
|
||||
Formatter::setPalette(style->standardPalette());
|
||||
QApplication::setStyle(style);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user