From b8c5d4c00a0686a709e17116eed06df18dd2c169 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 15 Apr 2021 22:07:21 +0200 Subject: fix: confirmtab not spawning --- poezio/tabs/confirmtab.py | 2 +- poezio/tabs/privatetab.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/poezio/tabs/confirmtab.py b/poezio/tabs/confirmtab.py index 89d0daf5..d7488de7 100644 --- a/poezio/tabs/confirmtab.py +++ b/poezio/tabs/confirmtab.py @@ -34,7 +34,7 @@ class ConfirmTab(Tab): """ Tab.__init__(self, core) self.state = 'highlight' - self.name = name + self._name = name self.default_help_message = windows.HelpText( "Choose with arrow keys and press enter") self.input = self.default_help_message diff --git a/poezio/tabs/privatetab.py b/poezio/tabs/privatetab.py index b07c7b65..6a79b055 100644 --- a/poezio/tabs/privatetab.py +++ b/poezio/tabs/privatetab.py @@ -314,7 +314,7 @@ class PrivateTab(OneToOneTab): ), ) new_jid = self.jid.bare + '/' + user.nick - self.name = new_jid + self._name = new_jid return self.core.tabs.current_tab is self @refresh_wrapper.conditional -- cgit v1.2.3