FIX:fixed 'dont show again' with wrong color in dark mode

Change-Id: Icedd3df2f428c9d526633b908d7017c02b4cca3a
This commit is contained in:
tao wang 2022-12-10 14:02:29 +08:00 committed by Lane.Wei
parent 531267abd6
commit 25484bcba9
2 changed files with 4 additions and 2 deletions

View file

@ -738,7 +738,9 @@ void MachineInfoPanel::show_ext(bool show, bool force_update)
void MachineInfoPanel::on_sys_color_changed()
{
Update_printer_img(m_obj);
if (m_obj) {
Update_printer_img(m_obj);
}
}
void MachineInfoPanel::upgrade_firmware_internal() {