create plugin.sleeper after we save preferences
This commit is contained in:
parent
707e8f3874
commit
8ef36f0abf
|
@ -215,7 +215,7 @@ class preference_Window:
|
||||||
self.plugin.config['autoxa'] = 0
|
self.plugin.config['autoxa'] = 0
|
||||||
axt = self.spin_autoxatime.get_value_as_int()
|
axt = self.spin_autoxatime.get_value_as_int()
|
||||||
self.plugin.config['autoxatime'] = axt
|
self.plugin.config['autoxatime'] = axt
|
||||||
if self.plugin.sleeper:
|
if aw or xa:
|
||||||
self.plugin.sleeper = common.sleepy.Sleepy(\
|
self.plugin.sleeper = common.sleepy.Sleepy(\
|
||||||
self.plugin.config['autoawaytime']*60, \
|
self.plugin.config['autoawaytime']*60, \
|
||||||
self.plugin.config['autoxatime']*60)
|
self.plugin.config['autoxatime']*60)
|
||||||
|
|
Loading…
Reference in New Issue