Reverted commit 4130083445
.
This commit is contained in:
parent
1936b45a0f
commit
0f5ab1bc87
|
@ -585,12 +585,7 @@ void PART_LIBS::LoadAllLibraries( PROJECT* aProject, bool aShowProgress )
|
||||||
lib_dialog.Update( i, _( "Loading " + lib_names[i] ) );
|
lib_dialog.Update( i, _( "Loading " + lib_names[i] ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
wxFileName fn;
|
wxFileName fn ( lib_names[i] );
|
||||||
|
|
||||||
// Do not use string assignment or single string ctor when initializing a wxFileName
|
|
||||||
// object. File names with dots other than the file extension will be parsed
|
|
||||||
// incorrectly by wxFileName.
|
|
||||||
fn.SetName( lib_names[i] );
|
|
||||||
|
|
||||||
// lib_names[] does not store the file extension. Set it:
|
// lib_names[] does not store the file extension. Set it:
|
||||||
fn.SetExt( SchematicLibraryFileExtension );
|
fn.SetExt( SchematicLibraryFileExtension );
|
||||||
|
|
Loading…
Reference in New Issue