FIRE-8213: Implement correct check

meow-7.2.2
Ansariel 2020-04-11 00:48:01 +02:00
parent b3755e19d9
commit ee3871256e
1 changed files with 4 additions and 1 deletions

View File

@ -9436,7 +9436,10 @@ static bool is_editable_selected()
}
else
{
if (!RlvActions::canEdit(hSelection->getFirstEditableObject()))
// RlvSelectIsEditable will sort out all editable objects
// => if result = NULL, we can't edit all selected objects
RlvSelectIsEditable f;
if (hSelection->getFirstRootNode(&f) != NULL)
{
return false;
}