Skip to content
  • Matt Harbison's avatar
    typing: assert that the phases menu items are not None · b000d3d4a1a0
    Matt Harbison authored
    Fixes the following pytype warning:
    
      line 1290, in generateSingleMenu: No attribute 'setData' on None [attribute-error]
        In Optional[Union[Any, PyQt5.QtWidgets.QAction]]
    
    The only way a None return is possible is if the 3rd arg is not None.
    b000d3d4a1a0