diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-09-17 14:17:12 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-09-17 14:17:12 +0200 |
commit | 02593a265ef292b5095ab7db4de4e81a3cfd1e37 (patch) | |
tree | fb517e56ff5388fd12e72a656844161f103efce7 | |
parent | a8537481acd482a1c24f1ac0a3a4200316c2828e (diff) | |
parent | f5258c2e9211d10d6093d4bb2362f6668934f83f (diff) | |
download | poezio-02593a265ef292b5095ab7db4de4e81a3cfd1e37.tar.gz poezio-02593a265ef292b5095ab7db4de4e81a3cfd1e37.tar.bz2 poezio-02593a265ef292b5095ab7db4de4e81a3cfd1e37.tar.xz poezio-02593a265ef292b5095ab7db4de4e81a3cfd1e37.zip |
merge
-rw-r--r-- | src/core.py | 4 |
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 |