FIX: [STUDIO-3475] hide height layer when switch to object mode

Change-Id: I26e2e2d83a9d5470658e5a8f4e7f3919d1d1e122
This commit is contained in:
chunmao.guo 2023-06-28 19:36:15 +08:00 committed by Lane.Wei
parent 7c76cf99b9
commit bed5fac0f8
1 changed files with 4 additions and 0 deletions

View File

@ -1673,6 +1673,10 @@ bool Sidebar::show_object_list(bool show) const
{
if (!p->m_object_list->Show(show))
return false;
if (!show)
p->object_layers->Show(false);
else
p->m_object_list->part_selection_changed();
p->scrolled->Layout();
return true;
}