mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-04 00:01:19 -07:00
Accept drag-and-drop for curapackage files
This commit is contained in:
parent
6ae9694998
commit
1737267dfd
1 changed files with 4 additions and 0 deletions
|
|
@ -345,6 +345,10 @@ UM.MainWindow
|
||||||
pluginInstallDialog.open();
|
pluginInstallDialog.open();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else if (CuraApplication.getCuraPackageManager().isPackageFile(drop.urls[0]))
|
||||||
|
{
|
||||||
|
CuraApplication.getCuraPackageManager().install(drop.urls[0]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
openDialog.handleOpenFileUrls(drop.urls);
|
openDialog.handleOpenFileUrls(drop.urls);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue