import_gfx: Make file selection case-insensitive
This adds the upper-case version of files names to the selection box for
filesystems that support case-sensitive file names.
Fixes: lp:1832853
* https://bugs.launchpad.net/kicad/+bug/1832853
(cherry picked from commit 36f70704eb
)
This commit is contained in:
parent
40ba502853
commit
ea467441d2
|
@ -148,6 +148,7 @@ public:
|
||||||
{
|
{
|
||||||
wxArrayString list;
|
wxArrayString list;
|
||||||
list.Add( "dxf" );
|
list.Add( "dxf" );
|
||||||
|
list.Add( "DXF" );
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a list of wildcards that contains the file extensions
|
* Return a list of wildcards that contains the file extensions
|
||||||
* handled by this plugin, separated with a coma.
|
* handled by this plugin, separated with a semi-colon.
|
||||||
*/
|
*/
|
||||||
wxString GetWildcards() const
|
wxString GetWildcards() const
|
||||||
{
|
{
|
||||||
|
@ -74,7 +74,7 @@ public:
|
||||||
if( first )
|
if( first )
|
||||||
first = false;
|
first = false;
|
||||||
else
|
else
|
||||||
ret += ", ";
|
ret += ";";
|
||||||
|
|
||||||
ret += "*." + extension;
|
ret += "*." + extension;
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ public:
|
||||||
{
|
{
|
||||||
wxArrayString list;
|
wxArrayString list;
|
||||||
list.Add( "svg" );
|
list.Add( "svg" );
|
||||||
|
list.Add( "SVG" );
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue