From 577b2a7f67ae8e1d5557756f0303342858819492 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 25 Oct 2021 15:01:12 +1100 Subject: [PATCH] Correctly load a persistent Chat tab --- desktop/src/onionshare/tab/tab.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/src/onionshare/tab/tab.py b/desktop/src/onionshare/tab/tab.py index 5d9bb077..7276b8da 100644 --- a/desktop/src/onionshare/tab/tab.py +++ b/desktop/src/onionshare/tab/tab.py @@ -243,6 +243,8 @@ class Tab(QtWidgets.QWidget): elif mode == "website": self.filenames = self.settings.get("website", "filenames") self.website_mode_clicked() + elif mode == "chat": + self.chat_mode_clicked() else: # This is a new tab self.settings = ModeSettings(self.common)