diff options
author | mathieui <mathieui@mathieui.net> | 2012-10-13 15:33:32 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-10-13 15:33:32 +0200 |
commit | 4638e7b7b58d39ef1436034deead5d573ca81527 (patch) | |
tree | 79bc7b13acbdc340ee2a0930943b222092f952b1 /src/tabs.py | |
parent | 1621aa9cfdc5249bb287b8df9fd2f227fd28ced3 (diff) | |
download | poezio-4638e7b7b58d39ef1436034deead5d573ca81527.tar.gz poezio-4638e7b7b58d39ef1436034deead5d573ca81527.tar.bz2 poezio-4638e7b7b58d39ef1436034deead5d573ca81527.tar.xz poezio-4638e7b7b58d39ef1436034deead5d573ca81527.zip |
Fixes #2376 (Only open one XMLTab)
- Also make Core.focus_tab_named take an optional type, and return a boolean
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py index 27f79d9b..da6bceaf 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -3244,7 +3244,7 @@ class XMLTab(Tab): curses.curs_set(0) def on_close(self): - self.core.xml_tabs -= 1 + self.core.xml_tab = False class SimpleTextTab(Tab): """ |