Eeschema: remove assertion in OnOrient() when the current object cannot be oriented.

This commit is contained in:
Chris Pavlina 2015-09-15 09:51:47 -04:00 committed by Wayne Stambaugh
parent 5bbf980ec7
commit a2beb2ecad
1 changed files with 2 additions and 2 deletions

View File

@ -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 )