mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX: fix virtual tray on select event
Change-Id: I37b07bf13058b94f21235cc1009455cc7661a77c Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
b461d8f9d5
commit
361b26faf6
1 changed files with 7 additions and 0 deletions
|
@ -542,6 +542,12 @@ void CalibrationPresetPage::create_ext_spool_panel(wxWindow* parent)
|
||||||
panel_sizer->Add(m_virtual_tray_comboBox, 0, wxALIGN_CENTER | wxRIGHT, FromDIP(8));
|
panel_sizer->Add(m_virtual_tray_comboBox, 0, wxALIGN_CENTER | wxRIGHT, FromDIP(8));
|
||||||
parent->SetSizer(panel_sizer);
|
parent->SetSizer(panel_sizer);
|
||||||
panel_sizer->Fit(parent);
|
panel_sizer->Fit(parent);
|
||||||
|
|
||||||
|
radio_btn->Bind(wxEVT_RADIOBUTTON, [this](wxCommandEvent& evt) {
|
||||||
|
wxCommandEvent event(EVT_CALI_TRAY_CHANGED);
|
||||||
|
event.SetEventObject(this);
|
||||||
|
wxPostEvent(this, event);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void CalibrationPresetPage::create_sending_panel(wxWindow* parent)
|
void CalibrationPresetPage::create_sending_panel(wxWindow* parent)
|
||||||
|
@ -912,6 +918,7 @@ void CalibrationPresetPage::check_filament_compatible()
|
||||||
m_warning_panel->set_warning("");
|
m_warning_panel->set_warning("");
|
||||||
m_warning_panel->Hide();
|
m_warning_panel->Hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
Layout();
|
Layout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue