From afc6da052ef073c433386d311fc3b24241ea202a Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 12 May 2020 23:28:09 +0200 Subject: Fix a bug when the value of show_composing_chat_state is not lowercase --- poezio/core/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 8ed861af..01fb6062 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -1784,7 +1784,7 @@ def _composing_tab_state(tab, state): else: return # should not happen - show = config.get('show_composing_tabs') + show = config.get('show_composing_tabs').lower() show = show in values if tab.state != 'composing' and state == 'composing': -- cgit v1.2.3