FIX:fixed appconfig is not saved when switching dark mode

Change-Id: I77fc3808309a23497000c34b6047a359d12c4622
This commit is contained in:
tao wang 2022-11-29 22:29:44 +08:00 committed by Lane.Wei
parent 4a5c473058
commit eca5897a25
22 changed files with 84 additions and 26 deletions

View file

@ -165,6 +165,7 @@ namespace GUI {
void ModelMallDialog::on_show(wxShowEvent& event)
{
wxGetApp().UpdateFrameDarkUI(this);
if (event.IsShown()) {
Centre(wxBOTH);
}