mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fixed TreeCtrl updating after mode change
+ Added another images for mode visualization
This commit is contained in:
parent
f6e6d9dc4a
commit
84de664fb5
5 changed files with 11 additions and 4 deletions
|
@ -388,6 +388,8 @@ void ConfigOptionsGroup::reload_config(){
|
|||
}
|
||||
|
||||
bool ConfigOptionsGroup::update_visibility(ConfigOptionMode mode) {
|
||||
if (m_options_mode.empty())
|
||||
return true;
|
||||
if (m_grid_sizer->GetEffectiveRowsCount() != m_options_mode.size() &&
|
||||
m_options_mode.size() == 1)
|
||||
return m_options_mode[0] <= mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue