Merge pull request #1450 from mig5/fix_persistent_chat_mode_load

Correctly load a persistent Chat tab
This commit is contained in:
Micah Lee 2021-11-06 23:26:55 -04:00 committed by GitHub
commit 1b259a208d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,6 +243,8 @@ class Tab(QtWidgets.QWidget):
elif mode == "website": elif mode == "website":
self.filenames = self.settings.get("website", "filenames") self.filenames = self.settings.get("website", "filenames")
self.website_mode_clicked() self.website_mode_clicked()
elif mode == "chat":
self.chat_mode_clicked()
else: else:
# This is a new tab # This is a new tab
self.settings = ModeSettings(self.common) self.settings = ModeSettings(self.common)