FIX: [STUDIO-2980] switch param to object mode not work

Change-Id: I4f5191986bf312ad3736671d5cc96d36f53487f4
This commit is contained in:
chunmao.guo 2023-05-24 19:30:56 +08:00 committed by Lane.Wei
parent 80d6479bee
commit bec1858a16

View file

@ -706,7 +706,9 @@ void ParamsPanel::notify_object_config_changed()
void ParamsPanel::switch_to_object_if_has_object_configs()
{
if (m_has_object_config) m_mode_region->SetValue(true);
if (m_has_object_config)
m_mode_region->SetValue(true);
set_active_tab(nullptr);
}
void ParamsPanel::free_sizers()