ENH:add "update_sync_ams_btn_enable" api

jira: none
Change-Id: I6380a4380bf402e3f0867faddf188f93658c2d68
(cherry picked from commit ac7d7726d66e77eeb1ac1755ff71652d12e1e2a2)
This commit is contained in:
zhou.xu
2025-02-15 11:27:16 +08:00
committed by Noisyfox
parent af44f4736d
commit 42ed41a4e6
2 changed files with 19 additions and 0 deletions

View File

@@ -128,6 +128,7 @@ class Sidebar : public wxPanel
ConfigOptionMode m_mode;
Button * btn_sync{nullptr};
ScalableButton * ams_btn{nullptr};
bool m_last_slice_state = false;
std::shared_ptr<SyncNozzleAndAmsDialog> m_sna_dialog{nullptr};
std::shared_ptr<FinishSyncAmsDialog> m_fna_dialog{nullptr};
std::vector<BedType> m_cur_combox_bed_types;
@@ -135,6 +136,8 @@ class Sidebar : public wxPanel
bool m_begin_sync_printer_status{false};
std::shared_ptr<SyncAmsInfoDialog> m_sync_dlg{nullptr};
void update_sync_ams_btn_enable(wxUpdateUIEvent &e);
public:
enum DockingState
{