Eeschema: remove assertion in OnOrient() when the current object cannot be oriented.
This commit is contained in:
parent
5bbf980ec7
commit
a2beb2ecad
|
@ -1154,8 +1154,8 @@ void SCH_EDIT_FRAME::OnOrient( wxCommandEvent& aEvent )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
wxFAIL_MSG( wxString::Format( wxT( "Schematic object type %s cannot be oriented." ),
|
// This object cannot be oriented.
|
||||||
GetChars( item->GetClass() ) ) );
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( item->GetFlags() == 0 )
|
if( item->GetFlags() == 0 )
|
||||||
|
|
Loading…
Reference in New Issue