Fix The toolbox license dialog

CURA-6983
This commit is contained in:
Nino van Hooff 2020-01-10 11:40:57 +01:00
parent 317061029c
commit 88d210d12d
7 changed files with 35 additions and 32 deletions

View file

@ -96,17 +96,12 @@ Window
visible: toolbox.restartRequired
height: visible ? UM.Theme.getSize("toolbox_footer").height : 0
}
// TODO: Clean this up:
Connections
{
target: toolbox
onShowLicenseDialog:
{
licenseDialog.pluginName = toolbox.getLicenseDialogPluginName();
licenseDialog.licenseContent = toolbox.getLicenseDialogLicenseContent();
licenseDialog.pluginFileLocation = toolbox.getLicenseDialogPluginFileLocation();
licenseDialog.show();
}
onShowLicenseDialog: { licenseDialog.show() }
onCloseLicenseDialog: { licenseDialog.close() }
}
ToolboxLicenseDialog