summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-15 22:07:21 +0200
committermathieui <mathieui@mathieui.net>2021-04-15 22:07:21 +0200
commitb8c5d4c00a0686a709e17116eed06df18dd2c169 (patch)
treedc9da6ff03f67130ff6136e6943733207158e82d
parent1e8932b5556ff980b62b464e50a6877f0d1258cf (diff)
downloadpoezio-b8c5d4c00a0686a709e17116eed06df18dd2c169.tar.gz
poezio-b8c5d4c00a0686a709e17116eed06df18dd2c169.tar.bz2
poezio-b8c5d4c00a0686a709e17116eed06df18dd2c169.tar.xz
poezio-b8c5d4c00a0686a709e17116eed06df18dd2c169.zip
fix: confirmtab not spawning
-rw-r--r--poezio/tabs/confirmtab.py2
-rw-r--r--poezio/tabs/privatetab.py2
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