mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
FIX: modify some text
jira: none Change-Id: If3f90adda34bc3088f7a43ccf294d82c14180263 (cherry picked from commit 5b056ee0aea62f53688574b06b9424d140e69fa5)
This commit is contained in:
@@ -603,8 +603,7 @@ void CalibrationPresetPage::create_selection_panel(wxWindow* parent)
|
|||||||
on_device_connected(curr_obj);
|
on_device_connected(curr_obj);
|
||||||
});
|
});
|
||||||
|
|
||||||
wxString sync_text = _L("Sync printer information") + _L(" Synced");
|
m_sync_button_text = new Label(parent, _L("AMS and nozzle information are synced"));
|
||||||
m_sync_button_text = new Label(parent, sync_text);
|
|
||||||
m_sync_button_text->SetFont(Label::Head_14);
|
m_sync_button_text->SetFont(Label::Head_14);
|
||||||
m_sync_button_text->Wrap(-1);
|
m_sync_button_text->Wrap(-1);
|
||||||
sync_button_sizer->Add(m_btn_sync);
|
sync_button_sizer->Add(m_btn_sync);
|
||||||
@@ -1651,13 +1650,11 @@ void CalibrationPresetPage::update_sync_button_status()
|
|||||||
if (synced) {
|
if (synced) {
|
||||||
m_btn_sync->SetBorderColor(synced_colour);
|
m_btn_sync->SetBorderColor(synced_colour);
|
||||||
m_btn_sync->SetIcon("ams_nozzle_sync");
|
m_btn_sync->SetIcon("ams_nozzle_sync");
|
||||||
wxString sync_text = _L("Sync printer information") + _L(" (Synced)");
|
m_sync_button_text->SetLabel(_L("AMS and nozzle information are synced"));
|
||||||
m_sync_button_text->SetLabel(sync_text);
|
|
||||||
} else {
|
} else {
|
||||||
m_btn_sync->SetBorderColor(not_synced_colour);
|
m_btn_sync->SetBorderColor(not_synced_colour);
|
||||||
m_btn_sync->SetIcon("printer_sync");
|
m_btn_sync->SetIcon("printer_sync");
|
||||||
wxString sync_text = _L("Sync printer information") + _L(" (Not synced)");
|
m_sync_button_text->SetLabel(_L("Sync AMS and nozzle information"));
|
||||||
m_sync_button_text->SetLabel(sync_text);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user