We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d2f12e + d03508b commit 8750403Copy full SHA for 8750403
Orange/canvas/application/addons.py
@@ -335,14 +335,10 @@ def set_install_projects(self, names):
335
336
def __data_changed(self, topleft, bottomright):
337
rows = range(topleft.row(), bottomright.row() + 1)
338
- proxy = self.__view.model()
339
- map_to_source = proxy.mapToSource
340
-
341
for i in rows:
342
- sourceind = map_to_source(proxy.index(i, 0))
343
- modelitem = self.__model.itemFromIndex(sourceind)
344
- actionitem = self.__model.item(modelitem.row(), 3)
345
- item = self.__items[modelitem.row()]
+ modelitem = self.__model.item(i, 0)
+ actionitem = self.__model.item(i, 3)
+ item = self.__items[i]
346
347
state = modelitem.checkState()
348
flags = modelitem.flags()
0 commit comments