Don't let visibility bit get nuked when updating effects.
Fixes: lp:1836183 * https://bugs.launchpad.net/kicad/+bug/1836183
This commit is contained in:
parent
029b624e96
commit
6c9e34e799
|
@ -374,7 +374,12 @@ void processTextItem( const TEXTE_MODULE& aSrc, TEXTE_MODULE& aDest,
|
|||
}
|
||||
|
||||
if( !resetTextEffects )
|
||||
{
|
||||
// Careful: the visible bit is also in Effects
|
||||
bool visible = aDest.IsVisible();
|
||||
aDest.SetEffects( aSrc );
|
||||
aDest.SetVisible( visible );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue