mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Merge pull request #1450 from mig5/fix_persistent_chat_mode_load
Correctly load a persistent Chat tab
This commit is contained in:
commit
1b259a208d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user