FIX: [STUDIO-3475] hide height layer when switch to object mode
Change-Id: I26e2e2d83a9d5470658e5a8f4e7f3919d1d1e122
This commit is contained in:
parent
7c76cf99b9
commit
bed5fac0f8
|
@ -1673,6 +1673,10 @@ bool Sidebar::show_object_list(bool show) const
|
||||||
{
|
{
|
||||||
if (!p->m_object_list->Show(show))
|
if (!p->m_object_list->Show(show))
|
||||||
return false;
|
return false;
|
||||||
|
if (!show)
|
||||||
|
p->object_layers->Show(false);
|
||||||
|
else
|
||||||
|
p->m_object_list->part_selection_changed();
|
||||||
p->scrolled->Layout();
|
p->scrolled->Layout();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue