mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX:fixed disabling switch option in dark mode
jira:[STUDIO-10545] Change-Id: I63a6ace601edc6a84dcf37ad1c241d9dc4a0b4d6 (cherry picked from commit e146f07b88c17f1d3f2690bda6603c33080c750a)
This commit is contained in:
@@ -2367,7 +2367,7 @@ void SelectMachineDialog::EnableEditing(bool enable)
|
||||
/*options*/
|
||||
for (auto iter : m_checkbox_list)
|
||||
{
|
||||
iter.second->Enable(enable);
|
||||
iter.second->enable(enable);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -216,6 +216,7 @@ public:
|
||||
void render(wxDC &dc);
|
||||
void doRender(wxDC &dc);
|
||||
void msw_rescale() { m_printoption_item->msw_rescale(); };
|
||||
void enable(bool en){m_printoption_item->Enable(en);};
|
||||
|
||||
std::string m_param;
|
||||
std::vector<POItem> m_ops;
|
||||
|
||||
Reference in New Issue
Block a user