FIX:fixed display disorder in dark mode after account switching
Change-Id: Ie756a2d303bda7258cf7648a8887108babaf2127
This commit is contained in:
parent
fa71bcccdc
commit
e261f8b722
1 changed files with 6 additions and 3 deletions
|
@ -189,9 +189,12 @@ public:
|
|||
|
||||
this->Bind(wxEVT_SYS_COLOUR_CHANGED, [this](wxSysColourChangedEvent& event)
|
||||
{
|
||||
update_dark_config();
|
||||
on_sys_color_changed();
|
||||
event.Skip();
|
||||
#ifndef __WINDOWS__
|
||||
update_dark_config();
|
||||
on_sys_color_changed();
|
||||
event.Skip();
|
||||
#endif // __WINDOWS__
|
||||
|
||||
});
|
||||
|
||||
if (std::is_same<wxDialog, P>::value) {
|
||||
|
|
Loading…
Reference in a new issue