mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Always subscribe to packages after installing them
Now that we subscribe for all situations where a package is installed, it makes sense to watch package installs and create a 1:1 relation that way. Prevents code duplication. CURA-7099
This commit is contained in:
parent
5cedb2933e
commit
d4eb463f2d
5 changed files with 48 additions and 23 deletions
|
@ -238,7 +238,7 @@ UM.MainWindow
|
|||
if (filename.toLowerCase().endsWith(".curapackage"))
|
||||
{
|
||||
// Try to install plugin & close.
|
||||
CuraApplication.getPackageManager().installPackageViaDragAndDrop(filename);
|
||||
CuraApplication.installPackageViaDragAndDrop(filename);
|
||||
packageInstallDialog.text = catalog.i18nc("@label", "This package will be installed after restarting.");
|
||||
packageInstallDialog.icon = StandardIcon.Information;
|
||||
packageInstallDialog.open();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue