Show the read-only notification for objects, too

This commit is contained in:
Jon Evans 2020-12-24 08:42:32 -05:00
parent db0df1fdc9
commit 98c437e70f
1 changed files with 3 additions and 0 deletions

View File

@ -1869,6 +1869,9 @@ void APPEARANCE_CONTROLS::rebuildObjects()
swatch->Bind( COLOR_SWATCH_CHANGED,
&APPEARANCE_CONTROLS::OnColorSwatchChanged, this );
swatch->SetReadOnlyCallback( std::bind( &APPEARANCE_CONTROLS::onReadOnlySwatch,
this ) );
}
else
{