Addon Manager: Fix macro installer bug

Also some minor tweaks to the GUI unit testing.
This commit is contained in:
Chris Hennes
2023-01-03 20:19:30 -06:00
parent d63ac0f7f6
commit 5de57b4cc5
4 changed files with 22 additions and 1 deletions

View File

@@ -521,6 +521,7 @@ class MacroInstallerGUI(QtCore.QObject):
"""The provided addon object must have an attribute called "macro", and that attribute must
itself provide a callable "install" method that takes a single string, the path to the
installation location."""
super().__init__()
self.addon_to_install = addon
self.worker_thread = None
self.installer = MacroInstaller(self.addon_to_install)