mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-01 20:21:15 +08:00
Fixed switching of settings access radio buttons in Preferences,
the middle button only worked when _MSW_DARK_MODE. Broken since fd07142.
This commit is contained in:
parent
94f92dee84
commit
e8418b509e
@ -619,8 +619,8 @@ void PreferencesDialog::create_settings_mode_widget()
|
|||||||
m_values["old_settings_layout_mode"] = (id == 0) ? "1" : "0";
|
m_values["old_settings_layout_mode"] = (id == 0) ? "1" : "0";
|
||||||
#ifdef _MSW_DARK_MODE
|
#ifdef _MSW_DARK_MODE
|
||||||
if (!disable_new_layout)
|
if (!disable_new_layout)
|
||||||
m_values["new_settings_layout_mode"] = (id == 1) ? "1" : "0";
|
|
||||||
#endif
|
#endif
|
||||||
|
m_values["new_settings_layout_mode"] = (id == 1) ? "1" : "0";
|
||||||
m_values["dlg_settings_layout_mode"] = (id == dlg_id) ? "1" : "0";
|
m_values["dlg_settings_layout_mode"] = (id == dlg_id) ? "1" : "0";
|
||||||
});
|
});
|
||||||
id++;
|
id++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user