mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 21:33:44 +00:00
Fix properties manager assert on zone layer property.
This commit is contained in:
parent
53d048921a
commit
69a69cc624
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user