From 8634b5ea66cd8fb305d41a2680c66a7d4fcde73c Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 22 Jul 2016 19:56:07 +0200 Subject: Fix a bug with the _close_tab shortcut MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit on_close wasn’t used correctly everywhere. Also make the "close" commands for each tab specific to themselves, rather than taking the current tab for closure. --- poezio/tabs/listtab.py | 1 - 1 file changed, 1 deletion(-) (limited to 'poezio/tabs/listtab.py') diff --git a/poezio/tabs/listtab.py b/poezio/tabs/listtab.py index c99bd3bd..18ee1da4 100644 --- a/poezio/tabs/listtab.py +++ b/poezio/tabs/listtab.py @@ -111,7 +111,6 @@ class ListTab(Tab): self.input.do_command("/") # we add the slash def close(self, arg=None): - self.input.on_delete() self.core.close_tab(self) def set_error(self, msg, code, body): -- cgit v1.2.3