Menu

#168 Python Console check not being updated

3.0.0
closed
nobody
None
3
2018-04-12
2016-11-01
wb104
No

When you close the Python console by clicking on the x, the "check" next to the View --> Python Console item does not get updated (so is then out of sync until you do the same thing a second time). (Using the "py" shortcut works ok.)

Discussion

  • wb104

    wb104 - 2016-11-01

    Fixed this immediate problem. You ave to be able to trigger the menu action when the x is hit. This does not work if the python console is popped out. The relevant function, Module._closeModule is not called. It is set up Module.py via the following line in the constructor:

    self.label.closeButton.clicked.connect(self._closeModule)

    This is something to do with the PyQtGraph implementation.

    Note that selecting the menu explicitly or using the shortcut "py" also does not work properly. The checkbutton in the menu item is correct, but the dock itself is left visible (but no python console inside it).

     
  • Luca

    Luca - 2018-04-12
    • status: open --> closed
     

Log in to post a comment.