Fix an issue in Debug mode
This commit is contained in:
parent
9076bfc9f7
commit
fff2f017d8
|
@ -192,8 +192,7 @@ const wxString WORKSHEET_LAYOUT::MakeFullFileName( const wxString& aShortFileNam
|
||||||
{
|
{
|
||||||
wxFileName fn = aShortFileName;
|
wxFileName fn = aShortFileName;
|
||||||
wxString fullFileName = aShortFileName;
|
wxString fullFileName = aShortFileName;
|
||||||
|
if( fn.GetPath().IsEmpty() && !fn.GetFullName().IsEmpty() )
|
||||||
if( fn.GetPath().IsEmpty() )
|
|
||||||
{
|
{
|
||||||
wxString name = wxGetApp().GetLibraryPathList().FindValidPath( fn.GetFullName() );
|
wxString name = wxGetApp().GetLibraryPathList().FindValidPath( fn.GetFullName() );
|
||||||
if( !name.IsEmpty() )
|
if( !name.IsEmpty() )
|
||||||
|
|
Loading…
Reference in New Issue