fix: confirmtab not spawning

This commit is contained in:
mathieui 2021-04-15 22:07:21 +02:00
parent 1e8932b555
commit b8c5d4c00a
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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