Merge branch 'fix-composing-tab-state-case' into 'master'

Fix a bug when the value of show_composing_chat_state is not lowercase

See merge request poezio/poezio!98
This commit is contained in:
Maxime Buquet 2020-05-12 23:33:54 +02:00
commit da235f286d

View file

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