mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
String cleanup, require restart when persistant_session changed.
This commit is contained in:
parent
08ce78f97c
commit
1794f497a5
@ -129,7 +129,10 @@ class accountSettingsController(globalSettingsController):
|
||||
self.config["general"]["relative_times"] = self.dialog.get_value("general", "relative_time")
|
||||
self.config["general"]["max_api_calls"] = self.dialog.get_value("general", "apiCalls")
|
||||
self.config["general"]["max_tweets_per_call"] = self.dialog.get_value("general", "itemsPerApiCall")
|
||||
if self.config["general"]["persistant_session"] != self.dialog.get_value("general", "persistant_session"):
|
||||
self.needs_restart = True
|
||||
self.config["general"]["persistant_session"] = self.dialog.get_value("general", "persistant_session")
|
||||
|
||||
if self.config["general"]["reverse_timelines"] != self.dialog.get_value("general", "reverse_timelines"):
|
||||
self.needs_restart = True
|
||||
self.config["general"]["reverse_timelines"] = self.dialog.get_value("general", "reverse_timelines")
|
||||
|
@ -92,7 +92,7 @@ class generalAccount(wx.Panel, baseDialog.BaseWXDialog):
|
||||
rMode.Add(lbl, 0, wx.ALL, 5)
|
||||
rMode.Add(self.retweet_mode, 0, wx.ALL, 5)
|
||||
sizer.Add(rMode, 0, wx.ALL, 5)
|
||||
self.persistant_session = wx.CheckBox(self, -1, _(u"Save session in database (experimental)"))
|
||||
self.persistant_session = wx.CheckBox(self, -1, _(u"Cache session in database (experimental)"))
|
||||
self.SetSizer(sizer)
|
||||
|
||||
class other_buffers(wx.Panel):
|
||||
|
Loading…
Reference in New Issue
Block a user