mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 09:32:09 +00:00
ENH:use high contrast icons in dark mode
fixed STUDIO-2033 Change-Id: Ibfbc40b02f5333d80d2875d88bb3029109256e4a
This commit is contained in:
@@ -3208,6 +3208,17 @@ void SelectMachineDialog::set_default()
|
||||
m_stext_weight->SetLabel(weight);
|
||||
}
|
||||
|
||||
void SelectMachineDialog::sys_color_changed()
|
||||
{
|
||||
if (wxGetApp(). dark_mode()) {
|
||||
m_rename_button->SetIcon("ams_editable_light");
|
||||
}
|
||||
else {
|
||||
m_rename_button->SetIcon("ams_editable");
|
||||
}
|
||||
m_rename_button->Refresh();
|
||||
}
|
||||
|
||||
bool SelectMachineDialog::Show(bool show)
|
||||
{
|
||||
show_status(PrintDialogStatus::PrintStatusInit);
|
||||
|
||||
Reference in New Issue
Block a user