ENH:show nozzle offset option
jira:[none] Change-Id: Iaf2665014c505412247e26521cdcb91217bdc7a4
This commit is contained in:
parent
aa3e21dc5b
commit
557f5dcbbe
|
@ -894,6 +894,9 @@ void SelectMachineDialog::update_select_layout(MachineObject *obj)
|
||||||
m_checkbox_list["nozzle_offset_cali"]->Hide();
|
m_checkbox_list["nozzle_offset_cali"]->Hide();
|
||||||
|
|
||||||
if (obj->is_enable_np) {
|
if (obj->is_enable_np) {
|
||||||
|
m_checkbox_list["nozzle_offset_cali"]->Show();
|
||||||
|
m_checkbox_list["nozzle_offset_cali"]->update_options(ops_auto);
|
||||||
|
m_checkbox_list["nozzle_offset_cali"]->setValue("auto");
|
||||||
m_checkbox_list["bed_leveling"]->update_options(ops_auto);
|
m_checkbox_list["bed_leveling"]->update_options(ops_auto);
|
||||||
m_checkbox_list["flow_cali"]->update_options(ops_auto);
|
m_checkbox_list["flow_cali"]->update_options(ops_auto);
|
||||||
}
|
}
|
||||||
|
@ -4356,7 +4359,7 @@ void PrintOption::doRender(wxDC &dc)
|
||||||
auto size = GetSize();
|
auto size = GetSize();
|
||||||
dc.SetPen(wxPen(*wxTRANSPARENT_PEN));
|
dc.SetPen(wxPen(*wxTRANSPARENT_PEN));
|
||||||
dc.SetBrush(wxBrush(0xF8F8F8));
|
dc.SetBrush(wxBrush(0xF8F8F8));
|
||||||
dc.DrawRoundedRectangle(0, 0, size.x, size.y, 5);
|
dc.DrawRoundedRectangle(0, 0, size.x, size.y, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PrintOption::setValue(std::string value)
|
void PrintOption::setValue(std::string value)
|
||||||
|
|
Loading…
Reference in New Issue