mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-01 23:32:10 +00:00
FIX: something gui
Change-Id: Ia5ed59d2acca441030a917ae6867cca70bb2231f Jira: STUDIO-9705, STUDIO-9714 (cherry picked from commit 7bf976babc8d12118200c5ebe8f1df976d269199)
This commit is contained in:
@@ -1503,7 +1503,7 @@ Sidebar::Sidebar(Plater *parent)
|
||||
project_config.set_key_value("curr_bed_type", new ConfigOptionEnum<BedType>(bed_type));
|
||||
|
||||
// Sync printer information
|
||||
auto btn_sync = new Button(p->m_panel_printer_content, _L("Sync printer information"), "ams_nozzle_sync");
|
||||
auto btn_sync = new Button(p->m_panel_printer_content, _L("Sync printer information"), "printer_sync", 0, 32);
|
||||
//btn_sync->SetFont(Label::Body_8);
|
||||
btn_sync->SetToolTip(_L("Synchronize nozzle information and the number of AMS"));
|
||||
btn_sync->SetCornerRadius(8);
|
||||
@@ -2230,7 +2230,7 @@ void Sidebar::sys_color_changed()
|
||||
for (wxWindow* win : std::vector<wxWindow*>{ p->scrolled, p->presets_panel })
|
||||
wxGetApp().UpdateAllStaticTextDarkUI(win);
|
||||
#endif
|
||||
p->btn_sync_printer->SetIcon("ams_nozzle_sync");
|
||||
p->btn_sync_printer->SetIcon("printer_sync");
|
||||
// for (wxWindow* btn : std::vector<wxWindow*>{ p->btn_reslice, p->btn_export_gcode })
|
||||
// wxGetApp().UpdateDarkUI(btn, true);
|
||||
p->m_printer_icon->msw_rescale();
|
||||
|
||||
@@ -1244,11 +1244,6 @@ void PlaterPresetComboBox::update()
|
||||
}
|
||||
|
||||
update_selection();
|
||||
if (m_type == Preset::TYPE_PRINTER && !selected_system_preset.empty()) {
|
||||
auto label = GetLabel();
|
||||
label.Replace("Bambu Lab ", "");
|
||||
SetLabel(label);
|
||||
}
|
||||
Thaw();
|
||||
|
||||
if (!tooltip.IsEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user