biolab / orange3-single-cell

🍊🔬 Orange add-on for gene expression of single cell data
https://singlecell.biolab.si/
Other
17 stars 25 forks source link

Filter widget crashes when removed from canvas #322

Closed BlazZupan closed 5 years ago

BlazZupan commented 5 years ago
Steps to reproduce the behavior

Place a Filter widget on canvas and then immediately remove it (do not add any data on its input).

  File "/Users/blaz/.virtualenvs/orange/lib/python3.7/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py", line 493, in viewStateChanged
    self.updateButtons()
  File "/Users/blaz/.virtualenvs/orange/lib/python3.7/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py", line 1180, in updateButtons
    self.autoBtn.hide()
AttributeError: 'NoneType' object has no attribute 'hide'
BlazZupan commented 5 years ago

Fixed.