Also allow upper case CURAPACKAGE filenames

This commit is contained in:
Diego Prado Gesto 2019-04-08 16:26:14 +02:00
parent fe14024620
commit 7bf25a3be5

View file

@ -211,7 +211,7 @@ UM.MainWindow
for (var i = 0; i < drop.urls.length; i++)
{
var filename = drop.urls[i];
if (filename.endsWith(".curapackage"))
if (filename.toLowerCase().endsWith(".curapackage"))
{
// Try to install plugin & close.
CuraApplication.getPackageManager().installPackageViaDragAndDrop(filename);