Explorar o código

wxGUI/g.extension: fix failure to uninstall addon (#1524)

nilason %!s(int64=4) %!d(string=hai) anos
pai
achega
4238feca45
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/modules/extensions.py

+ 1 - 1
gui/wxpython/modules/extensions.py

@@ -546,7 +546,7 @@ class CheckListExtension(GListCtrl):
         """
         extList = list()
         for i in range(self.GetItemCount()):
-            if self.IsChecked(i):
+            if self.IsItemChecked(i):
                 name = self.GetItemText(i)
                 if name:
                     extList.append(name)