Commits

Aleš Erjavec  committed 83600a8

Fixed an error on widget input disconnect.

The 'data_hints.get_hint' function raises an error if passed None.

  • Participants
  • Parent commits ff8c04a

Comments (0)

Files changed (1)

File orangecontrib/bio/widgets/OWSelectGenes.py

 
         self._changedFlag = True
         self._updateCompletionModel()
-        self.taxid = data_hints.get_hint(data, "taxid", None)
+        if data is not None:
+            self.taxid = data_hints.get_hint(data, "taxid", None)
+        else:
+            self.taxid = None
+
         self.openContext("", data)
 
         self.commit()