mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -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
|
@ -2354,7 +2354,7 @@ bool GUI_App::on_init_inner()
|
|||
load_language(wxString(), true);
|
||||
#ifdef _MSW_DARK_MODE
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifndef __WINDOWS__
|
||||
wxSystemAppearance app = wxSystemSettings::GetAppearance();
|
||||
GUI::wxGetApp().app_config->set("dark_color_mode", app.IsDark() ? "1" : "0");
|
||||
GUI::wxGetApp().app_config->save();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue