mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Also allow upper case CURAPACKAGE filenames
This commit is contained in:
parent
fe14024620
commit
7bf25a3be5
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ UM.MainWindow
|
||||||
for (var i = 0; i < drop.urls.length; i++)
|
for (var i = 0; i < drop.urls.length; i++)
|
||||||
{
|
{
|
||||||
var filename = drop.urls[i];
|
var filename = drop.urls[i];
|
||||||
if (filename.endsWith(".curapackage"))
|
if (filename.toLowerCase().endsWith(".curapackage"))
|
||||||
{
|
{
|
||||||
// Try to install plugin & close.
|
// Try to install plugin & close.
|
||||||
CuraApplication.getPackageManager().installPackageViaDragAndDrop(filename);
|
CuraApplication.getPackageManager().installPackageViaDragAndDrop(filename);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue