Commit 7dadeadb authored by jean-pierre charras's avatar jean-pierre charras Committed by Maciej Suminski

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

parent 8f1addc1
...@@ -132,7 +132,7 @@ void CONTEXT_MENU::SetTitle( const wxString& aTitle ) ...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment