mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +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*/
|
/*options*/
|
||||||
for (auto iter : m_checkbox_list)
|
for (auto iter : m_checkbox_list)
|
||||||
{
|
{
|
||||||
iter.second->Enable(enable);
|
iter.second->enable(enable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -216,6 +216,7 @@ public:
|
|||||||
void render(wxDC &dc);
|
void render(wxDC &dc);
|
||||||
void doRender(wxDC &dc);
|
void doRender(wxDC &dc);
|
||||||
void msw_rescale() { m_printoption_item->msw_rescale(); };
|
void msw_rescale() { m_printoption_item->msw_rescale(); };
|
||||||
|
void enable(bool en){m_printoption_item->Enable(en);};
|
||||||
|
|
||||||
std::string m_param;
|
std::string m_param;
|
||||||
std::vector<POItem> m_ops;
|
std::vector<POItem> m_ops;
|
||||||
|
|||||||
Reference in New Issue
Block a user