mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06: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();
|
||||
return;
|
||||
}
|
||||
else if (CuraApplication.getCuraPackageManager().isPackageFile(drop.urls[0]))
|
||||
{
|
||||
CuraApplication.getCuraPackageManager().install(drop.urls[0]);
|
||||
}
|
||||
}
|
||||
|
||||
openDialog.handleOpenFileUrls(drop.urls);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue