Also unset the current widget when the last tab is closed, and this was not a root tab
Also unset the current widget when the last tab is closed, and this was not a root tab

pyQode/pyqode.core,pyQode/pyqode.core