bugfix 1418736: pcbnew crashes if "Interactive Router" was selected from the context menu.
This commit is contained in:
parent
8f1addc1f8
commit
7dadeadbf3
|
@ -132,7 +132,7 @@ void CONTEXT_MENU::SetTitle( const wxString& aTitle )
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
InsertSeparator( 0 );
|
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;
|
m_titleSet = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue