mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX:supports dark mode on linux systems
Change-Id: I424f4a686ffe0d25075022b7e58c89d2683fcea2
This commit is contained in:
parent
bda8d1cb98
commit
8e41e6cee2
2 changed files with 2 additions and 3 deletions
|
@ -1876,7 +1876,7 @@ void MainFrame::on_sys_color_changed()
|
|||
// update label colors in respect to the system mode
|
||||
wxGetApp().init_label_colours();
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifndef __WINDOWS__
|
||||
wxGetApp().force_colors_update();
|
||||
wxGetApp().update_ui_from_settings();
|
||||
#endif //__APPLE__
|
||||
|
@ -1898,7 +1898,6 @@ void MainFrame::on_sys_color_changed()
|
|||
// update Plater
|
||||
wxGetApp().plater()->sys_color_changed();
|
||||
m_monitor->on_sys_color_changed();
|
||||
|
||||
// update Tabs
|
||||
for (auto tab : wxGetApp().tabs_list)
|
||||
tab->sys_color_changed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue