summaryrefslogtreecommitdiff
path: root/poezio/core/commands.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-07-23 20:38:34 +0200
committermathieui <mathieui@mathieui.net>2018-07-23 20:38:34 +0200
commit54875e1ad55348e400efe2d75efdd2b0503235e2 (patch)
tree4e90cf785b03b273ca4026cdcafa9d9cea25f23f /poezio/core/commands.py
parentfdc797aec733c355e1e36ddd4b508a833dc71c31 (diff)
downloadpoezio-54875e1ad55348e400efe2d75efdd2b0503235e2.tar.gz
poezio-54875e1ad55348e400efe2d75efdd2b0503235e2.tar.bz2
poezio-54875e1ad55348e400efe2d75efdd2b0503235e2.tar.xz
poezio-54875e1ad55348e400efe2d75efdd2b0503235e2.zip
Use the event handler to refresh when the tab changes
Diffstat (limited to 'poezio/core/commands.py')
-rw-r--r--poezio/core/commands.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py
index a3466216..eb7595ee 100644
--- a/poezio/core/commands.py
+++ b/poezio/core/commands.py
@@ -214,9 +214,6 @@ class CommandCore:
if match is None:
return
self.core.tabs.set_current_tab(match)
- old_tab.on_lose_focus()
- self.core.tabs.current_tab.on_gain_focus()
- self.core.refresh_window()
@command_args_parser.quoted(2)
def move_tab(self, args):
@@ -496,9 +493,6 @@ class CommandCore:
tab = tabs.BookmarksTab(self.core, self.core.bookmarks)
self.core.tabs.append(tab)
self.core.tabs.set_current_tab(tab)
- old_tab.on_lose_focus()
- tab.on_gain_focus()
- self.core.refresh_window()
@command_args_parser.quoted(0, 1)
def remove_bookmark(self, args):