mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX:fix some new ui issues
jira:[new ui] Change-Id: I1283de641d4f2e4acfd5bef91716f9029665c465 (cherry picked from commit 65e8b4ee7e816cc313e8d7a33f06c6f1638dceef)
This commit is contained in:
@@ -2819,19 +2819,18 @@ void SelectMachineDialog::update_flow_cali_check(MachineObject* obj)
|
||||
set_flow_calibration_state(true, show_cali_tips);
|
||||
}
|
||||
|
||||
void SelectMachineDialog::update_ams_check(MachineObject* obj)
|
||||
void SelectMachineDialog::update_ams_check(MachineObject *obj)
|
||||
{
|
||||
if (obj && obj->has_ams()) {
|
||||
if (obj && obj->has_ams() && !obj->is_enable_np) {
|
||||
select_use_ams->Show();
|
||||
if (obj->get_printer_ams_type() == "generic") {
|
||||
img_use_ams_tip->Show();
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
img_use_ams_tip->Hide();
|
||||
}
|
||||
} else {
|
||||
select_use_ams->Hide();
|
||||
}
|
||||
|
||||
if (obj->is_enable_np) { m_checkbox_list["use_ams"]->SetValue(true); }
|
||||
}
|
||||
|
||||
void SelectMachineDialog::update_show_status()
|
||||
|
||||
@@ -3832,6 +3832,8 @@ void StatusPanel::on_start_unload(wxCommandEvent &event)
|
||||
|
||||
void StatusPanel::on_set_bed_temp()
|
||||
{
|
||||
if (!obj) {return;}
|
||||
|
||||
wxString str = m_tempCtrl_bed->GetTextCtrl()->GetValue();
|
||||
try {
|
||||
long bed_temp;
|
||||
@@ -3853,6 +3855,8 @@ void StatusPanel::on_set_bed_temp()
|
||||
|
||||
void StatusPanel::on_set_nozzle_temp()
|
||||
{
|
||||
if (!obj) {return;}
|
||||
|
||||
wxString str = m_tempCtrl_nozzle->GetTextCtrl()->GetValue();
|
||||
wxString str_deputy;
|
||||
int nozzle_num = obj->m_extder_data.total_extder_count;
|
||||
@@ -3884,6 +3888,8 @@ void StatusPanel::on_set_nozzle_temp()
|
||||
|
||||
void StatusPanel::on_set_chamber_temp()
|
||||
{
|
||||
if (!obj) {return;}
|
||||
|
||||
wxString str = m_tempCtrl_chamber->GetTextCtrl()->GetValue();
|
||||
try {
|
||||
long chamber_temp;
|
||||
|
||||
Reference in New Issue
Block a user