Label: hook into tabRemoved signal

Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
Juraj Oravec 2020-03-01 14:38:38 +01:00
parent 7102f67730
commit 8f347c291c
No known key found for this signature in database
GPG Key ID: 63ACB65056BC8D07

View File

@ -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"