Fix of 8342 (deselection when changing object-specific settings)
This commit is contained in:
parent
9420f47b26
commit
60894a26dd
@ -3251,7 +3251,7 @@ void ObjectList::update_selections()
|
||||
{
|
||||
const auto item = GetSelection();
|
||||
if (selection.is_single_full_object()) {
|
||||
if (m_objects_model->GetItemType(m_objects_model->GetParent(item)) & itObject &&
|
||||
if (m_objects_model->GetItemType(m_objects_model->GetParent(item)) & (itObject | itLayerRoot | itLayer) &&
|
||||
m_objects_model->GetObjectIdByItem(item) == selection.get_object_idx() )
|
||||
return;
|
||||
sels.Add(m_objects_model->GetItemById(selection.get_object_idx()));
|
||||
|
Loading…
Reference in New Issue
Block a user