Fix properties manager assert on zone layer property.

This commit is contained in:
Jeff Young 2024-02-09 00:15:45 +00:00
parent 53d048921a
commit 69a69cc624
1 changed files with 3 additions and 0 deletions

View File

@ -362,6 +362,9 @@ bool PROPERTIES_PANEL::extractValueAndWritability( const SELECTION& aSelection,
if( !propMgr.IsAvailableFor( TYPE_HASH( *item ), aProperty, item ) )
return false;
if( aProperty->IsHiddenFromPropertiesManager() )
return false;
// If read-only for any of the selection, read-only for the whole selection.
if( !propMgr.IsWriteableFor( TYPE_HASH( *item ), aProperty, item ) )
aWritable = false;