Label: hook into tabRemoved signal
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
parent
7102f67730
commit
8f347c291c
@ -40,6 +40,7 @@ class Label(QtWidgets.QLabel):
|
||||
self.updateText()
|
||||
|
||||
self.window.tabWidget().changed.connect(self.updateText)
|
||||
self.window.tabWidget().tabRemoved.connect(self.updateText)
|
||||
|
||||
def id(self):
|
||||
return "tab-counter-button"
|
||||
|
Loading…
Reference in New Issue
Block a user