mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:39:03 +08:00
Accept drag-and-drop for curapackage files
This commit is contained in:
parent
6ae9694998
commit
1737267dfd
@ -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…
x
Reference in New Issue
Block a user