summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-09-17 14:17:12 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-09-17 14:17:12 +0200
commit02593a265ef292b5095ab7db4de4e81a3cfd1e37 (patch)
treefb517e56ff5388fd12e72a656844161f103efce7
parenta8537481acd482a1c24f1ac0a3a4200316c2828e (diff)
parentf5258c2e9211d10d6093d4bb2362f6668934f83f (diff)
downloadpoezio-02593a265ef292b5095ab7db4de4e81a3cfd1e37.tar.gz
poezio-02593a265ef292b5095ab7db4de4e81a3cfd1e37.tar.bz2
poezio-02593a265ef292b5095ab7db4de4e81a3cfd1e37.tar.xz
poezio-02593a265ef292b5095ab7db4de4e81a3cfd1e37.zip
merge
-rw-r--r--src/core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 92a644be..96531e5f 100644
--- a/src/core.py
+++ b/src/core.py
@@ -884,6 +884,10 @@ class Core(object):
self.command_win('%s' % tab.nb)
return
for tab in self.tabs:
+ if tab.get_color_state() == theme.COLOR_TAB_DISCONNECTED:
+ self.command_win('%s' % tab.nb)
+ return
+ for tab in self.tabs:
if isinstance(tab, tabs.ChatTab) and not tab.input.is_empty():
self.command_win('%s' % tab.nb)
return