Browse Source

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

nilason 4 năm trước cách đây
mục cha
commit
0f10060df8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      gui/wxpython/modules/extensions.py

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

@@ -542,7 +542,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)