diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tabs.py | 7 | ||||
-rw-r--r-- | src/windows.py | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/tabs.py b/src/tabs.py index 019fae30..374cdc4f 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -2371,7 +2371,12 @@ class MucListTab(Tab): 'name': item[2] or '' ,'users': ''} for item in iq['disco_items'].get_items()] self.listview.add_lines(items) self.upper_message.set_message('Chatroom list on server %s' % self.name) - self.upper_message.refresh() + if self.core.current_tab() is self: + self.listview.refresh() + self.upper_message.refresh() + else: + self.state = 'highlight' + self.refresh_tab_win() curses.doupdate() def sort_by(self): diff --git a/src/windows.py b/src/windows.py index 89630a12..3a852ebc 100644 --- a/src/windows.py +++ b/src/windows.py @@ -1667,8 +1667,6 @@ class ListWin(Win): if not lines: return self.lines += lines - self.refresh() - curses.doupdate() def get_selected_row(self): """ |