diff options
author | mathieui <mathieui@mathieui.net> | 2012-03-25 14:37:40 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-03-25 14:37:40 +0200 |
commit | 418b800ad704922462d7df0a735633a644720986 (patch) | |
tree | c1ea40b50929810551e23ef952229dcc86a17a36 /src/tabs.py | |
parent | 3734304091cc492b2fe7bfc04525339d89ec41c0 (diff) | |
download | poezio-418b800ad704922462d7df0a735633a644720986.tar.gz poezio-418b800ad704922462d7df0a735633a644720986.tar.bz2 poezio-418b800ad704922462d7df0a735633a644720986.tar.xz poezio-418b800ad704922462d7df0a735633a644720986.zip |
Do not add stanzas to the xml_tab buffer unless there an is active one
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 3 |
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 |