fix bug in uninstalling macro

This commit is contained in:
Mark Ganson TheMarkster
2019-06-29 20:47:02 -05:00
committed by Yorik van Havre
parent 2d7d6cfef6
commit 18e39b5d90

View File

@@ -471,7 +471,7 @@ class CommandAddonManager:
else:
self.dialog.description.setText(translate("AddonsInstaller", "Unable to remove this addon"))
elif self.tabWidget.currentIndex() == 1:
elif self.dialog.tabWidget.currentIndex() == 1:
# Tab "Macros".
macro = self.macros[self.dialog.listMacros.currentRow()]
if remove_macro(macro):