mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-30 13:26:58 +00:00
ENH:add "update_sync_ams_btn_enable" api
jira: none Change-Id: I6380a4380bf402e3f0867faddf188f93658c2d68 (cherry picked from commit ac7d7726d66e77eeb1ac1755ff71652d12e1e2a2)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user