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.
1 parent 0572261 commit 2ba2845Copy full SHA for 2ba2845
1 file changed
Orange/widgets/gui.py
@@ -2049,7 +2049,10 @@ def item2name(self, item):
2049
2050
def __setitem__(self, index, item):
2051
def unselect(i):
2052
- item = self.listBox.item(i)
+ try:
2053
+ item = self.listBox.item(i)
2054
+ except RunTimeError: # Underlying C/C++ object has been deleted
2055
+ item = None
2056
if item is None:
2057
# Labels changed before clearing the selection: clear everything
2058
self.listBox.selectionModel().clear()
0 commit comments