minor change in cvpcb (better error message when a .cmp file is not found)
This commit is contained in:
parent
21b75f396b
commit
4254ddc814
|
@ -9,9 +9,12 @@
|
||||||
#define KICAD_BUILD_VERSION "(2011-03-17)"
|
#define KICAD_BUILD_VERSION "(2011-03-17)"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// uncomment this line only when creating a stable version
|
||||||
//#define VERSION_STABILITY "stable"
|
//#define VERSION_STABILITY "stable"
|
||||||
#define VERSION_STABILITY "testing"
|
|
||||||
|
|
||||||
|
#ifndef VERSION_STABILITY
|
||||||
|
#define VERSION_STABILITY "testing"
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function GetBuildVersion
|
* Function GetBuildVersion
|
||||||
|
|
|
@ -82,8 +82,9 @@ bool CVPCB_MAINFRAME::LoadComponentFile( const wxString& fileName )
|
||||||
source = wxFopen( fn.GetFullPath(), wxT( "rt" ) );
|
source = wxFopen( fn.GetFullPath(), wxT( "rt" ) );
|
||||||
if( source == NULL )
|
if( source == NULL )
|
||||||
{
|
{
|
||||||
msg.Printf( _( "Cannot open component library <%s>." ),
|
msg.Printf( _( "Cannot open CvPcb component file <%s>." ),
|
||||||
GetChars( fn.GetFullPath() ) );
|
GetChars( fn.GetFullPath() ) );
|
||||||
|
msg << wxT("\n") << _("This is normal if you are opening a new netlist file");
|
||||||
wxMessageBox( msg, titleComponentLibErr, wxOK | wxICON_ERROR );
|
wxMessageBox( msg, titleComponentLibErr, wxOK | wxICON_ERROR );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue