bugfix 1418736: pcbnew crashes if "Interactive Router" was selected from the context menu.

This commit is contained in:
jean-pierre charras 2015-02-06 22:01:57 +01:00 committed by Maciej Suminski
parent 8f1addc1f8
commit 7dadeadbf3
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ void CONTEXT_MENU::SetTitle( const wxString& aTitle )
else
{
InsertSeparator( 0 );
Insert( 0, new wxMenuItem( this, -1, aTitle, wxEmptyString, wxITEM_NORMAL ) );
Insert( 0, new wxMenuItem( this, wxID_NONE, aTitle, wxEmptyString, wxITEM_NORMAL ) );
m_titleSet = true;
}
}