mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 08:17:51 -06:00
FIX:fixed 'dont show again' with wrong color in dark mode
Change-Id: Icedd3df2f428c9d526633b908d7017c02b4cca3a
This commit is contained in:
parent
531267abd6
commit
25484bcba9
2 changed files with 4 additions and 2 deletions
|
@ -91,7 +91,7 @@ void MsgDialog::show_dsa_button()
|
||||||
auto m_text_dsa = new wxStaticText(this, wxID_ANY, _L("Don't show again"), wxDefaultPosition, wxDefaultSize, 0);
|
auto m_text_dsa = new wxStaticText(this, wxID_ANY, _L("Don't show again"), wxDefaultPosition, wxDefaultSize, 0);
|
||||||
m_dsa_sizer->Add(m_text_dsa, 0, wxALL | wxALIGN_CENTER, FromDIP(2));
|
m_dsa_sizer->Add(m_text_dsa, 0, wxALL | wxALIGN_CENTER, FromDIP(2));
|
||||||
m_text_dsa->SetFont(::Label::Body_13);
|
m_text_dsa->SetFont(::Label::Body_13);
|
||||||
m_text_dsa->SetForegroundColour(wxColour(0x32,0x3A,0x3D));
|
m_text_dsa->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#323A3D")));
|
||||||
btn_sizer->Layout();
|
btn_sizer->Layout();
|
||||||
//Fit();
|
//Fit();
|
||||||
}
|
}
|
||||||
|
|
|
@ -738,7 +738,9 @@ void MachineInfoPanel::show_ext(bool show, bool force_update)
|
||||||
|
|
||||||
void MachineInfoPanel::on_sys_color_changed()
|
void MachineInfoPanel::on_sys_color_changed()
|
||||||
{
|
{
|
||||||
Update_printer_img(m_obj);
|
if (m_obj) {
|
||||||
|
Update_printer_img(m_obj);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MachineInfoPanel::upgrade_firmware_internal() {
|
void MachineInfoPanel::upgrade_firmware_internal() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue