FIX:Synchronize the machine to maintain the same hot bed selection

jira: STUDIO-10146
Change-Id: Ia2000bab1c41097ef50ee84aa35d9a5c8921ef56
(cherry picked from commit f95f88de0d7a789464046ba0837e3ff4da0ab5a6)
This commit is contained in:
zhou.xu
2025-01-24 17:31:37 +08:00
committed by Noisyfox
parent 4007c47585
commit cda6860bcf
2 changed files with 33 additions and 5 deletions

View File

@@ -130,6 +130,8 @@ class Sidebar : public wxPanel
std::shared_ptr<SyncNozzleAndAmsDialog> m_sna_dialog{nullptr};
std::shared_ptr<FinishSyncAmsDialog> m_fna_dialog{nullptr};
std::vector<BedType> m_cur_combox_bed_types;
int m_last_combo_bedtype_count{0};
bool m_begin_sync_printer_status{false};
public:
enum DockingState
@@ -153,7 +155,8 @@ public:
//BBS
void update_presets_from_to(Slic3r::Preset::Type preset_type, std::string from, std::string to);
BedType get_cur_select_bed_type();
void reset_bed_type_combox_choices();
void set_bed_type_accord_combox(BedType bed_type);
bool reset_bed_type_combox_choices();
void change_top_border_for_mode_sizer(bool increase_border);
void msw_rescale();
void sys_color_changed();