mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Merge remote-tracking branch 'origin/qt6_beyond_the_splash' into qt6_beyond_the_splash
This commit is contained in:
commit
f57c30fb42
1 changed files with 2 additions and 2 deletions
|
@ -234,7 +234,7 @@ UM.MainWindow
|
|||
{
|
||||
// The drop area is here to handle files being dropped onto Cura.
|
||||
anchors.fill: parent
|
||||
onDropped:
|
||||
onDropped: (drop) =>
|
||||
{
|
||||
if (drop.urls.length > 0)
|
||||
{
|
||||
|
@ -243,7 +243,7 @@ UM.MainWindow
|
|||
for (var i = 0; i < drop.urls.length; i++)
|
||||
{
|
||||
var filename = drop.urls[i];
|
||||
if (filename.toLowerCase().endsWith(".curapackage"))
|
||||
if (filename.toString().toLowerCase().endsWith(".curapackage"))
|
||||
{
|
||||
// Try to install plugin & close.
|
||||
CuraApplication.installPackageViaDragAndDrop(filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue