Crash after a workspace is deleted
When deleting a (non-default) workspace an exception is raised. On closing the exception dialogue, it is raised again (indefinitely).
Versions:
- OS: Debian GNU/Linux 11 (bullseye) 11 (bullseye)
- GTK Version: 3.24.24
- PyGObject Version: 3.38.0
- GLib Version : 2.66.2
- python-nbxmpp Version: 3.1.0
- Gajim Version: 1.4.3
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/gtk/chat_page.py", line 177, in _on_chat_list_changed
chat_list = chat_list_stack.get_current_chat_list()
File "/usr/lib/python3/dist-packages/gajim/gtk/chat_list_stack.py", line 134, in get_current_chat_list
return self._chat_lists[workspace_id]
KeyError: 'default'
Steps to reproduce the problem
Try to delete an existing (empty) workspace via edit workspace function.