summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index afe77274..39541b04 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -2719,6 +2719,9 @@ class XMLTab(Tab):
self.state = 'current'
curses.curs_set(0)
+ def on_close(self):
+ self.core.xml_tabs -= 1
+
class SimpleTextTab(Tab):
"""
A very simple tab, with just a text displaying some