mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
FIX: pa manual save page show() not been called
Change-Id: I85120b78442cdd8a1c629df7d20ed13b996e682d
This commit is contained in:
parent
988e4d9f84
commit
f993f5e30d
2 changed files with 8 additions and 0 deletions
|
@ -691,6 +691,12 @@ void CalibrationPASavePage::update(MachineObject* obj)
|
||||||
m_manual_panel->set_machine_obj(obj);
|
m_manual_panel->set_machine_obj(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CalibrationPASavePage::Show(bool show) {
|
||||||
|
if (curr_obj)
|
||||||
|
show_panels(m_cali_method, curr_obj->printer_type);
|
||||||
|
return wxPanel::Show(show);
|
||||||
|
}
|
||||||
|
|
||||||
CalibrationFlowX1SavePage::CalibrationFlowX1SavePage(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
|
CalibrationFlowX1SavePage::CalibrationFlowX1SavePage(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
|
||||||
: CalibrationCommonSavePage(parent, id, pos, size, style)
|
: CalibrationCommonSavePage(parent, id, pos, size, style)
|
||||||
{
|
{
|
||||||
|
|
|
@ -173,6 +173,8 @@ public:
|
||||||
|
|
||||||
void update(MachineObject* obj) override;
|
void update(MachineObject* obj) override;
|
||||||
|
|
||||||
|
virtual bool Show(bool show = true) override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
CaliPageStepGuide* m_step_panel { nullptr };
|
CaliPageStepGuide* m_step_panel { nullptr };
|
||||||
CaliPASaveAutoPanel* m_auto_panel { nullptr };
|
CaliPASaveAutoPanel* m_auto_panel { nullptr };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue