mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix parsing of legacy text hide token
(cherry picked from commit 53c254347460258b7badd570289a6c5f33ba81bb)
This commit is contained in:
parent
6ac1f39e62
commit
e5d4f58d65
@ -620,10 +620,7 @@ void PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT( EDA_TEXT* aText )
|
||||
break;
|
||||
|
||||
case T_hide:
|
||||
if( NextTok() == T_yes || NextTok() == T_no )
|
||||
aText->SetVisible( !parseBool() );
|
||||
else
|
||||
aText->SetVisible( false );
|
||||
aText->SetVisible( !parseMaybeAbsentBool( true ) );
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user