FIX:update_badge_according_flag should check compatible machine

jira: STUDIO-12166
Change-Id: Id19d398fd2159ee916d0ac63691530ba6d746cdd
(cherry picked from commit fa642e8d6673aba65ac363a92b40312242813509)
This commit is contained in:
zhou.xu
2025-05-14 10:01:48 +08:00
committed by Noisyfox
parent e8296765cf
commit a37dbd6f1d
3 changed files with 9 additions and 5 deletions

View File

@@ -1342,7 +1342,9 @@ void PlaterPresetComboBox::update()
update_selection();
if (m_type == Preset::TYPE_FILAMENT) {
update_badge_according_flag();
if (wxGetApp().plater()->is_same_printer_for_connected_and_selected(false)) {
update_badge_according_flag();
}
}
Thaw();