Loading pcbnew/files.cpp +4 −3 Original line number Original line Diff line number Diff line Loading @@ -299,7 +299,8 @@ this file again." ) ); } } } } catch( IO_ERROR ioe ) catch( IO_ERROR ioe ) {wxMessageBox("catch"); { wxMessageBox( _( "catch" ) ); wxString msg = wxString::Format( _( "Error loading board.\n%s" ), wxString msg = wxString::Format( _( "Error loading board.\n%s" ), ioe.errorText.GetData() ); ioe.errorText.GetData() ); wxMessageBox( msg, _( "Open Board File" ), wxOK | wxICON_ERROR ); wxMessageBox( msg, _( "Open Board File" ), wxOK | wxICON_ERROR ); Loading Loading
pcbnew/files.cpp +4 −3 Original line number Original line Diff line number Diff line Loading @@ -299,7 +299,8 @@ this file again." ) ); } } } } catch( IO_ERROR ioe ) catch( IO_ERROR ioe ) {wxMessageBox("catch"); { wxMessageBox( _( "catch" ) ); wxString msg = wxString::Format( _( "Error loading board.\n%s" ), wxString msg = wxString::Format( _( "Error loading board.\n%s" ), ioe.errorText.GetData() ); ioe.errorText.GetData() ); wxMessageBox( msg, _( "Open Board File" ), wxOK | wxICON_ERROR ); wxMessageBox( msg, _( "Open Board File" ), wxOK | wxICON_ERROR ); Loading