create plugin.sleeper after we save preferences

This commit is contained in:
Yann Leboulanger 2004-05-29 04:24:31 +00:00
parent 707e8f3874
commit 8ef36f0abf
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ class preference_Window:
self.plugin.config['autoxa'] = 0
axt = self.spin_autoxatime.get_value_as_int()
self.plugin.config['autoxatime'] = axt
if self.plugin.sleeper:
if aw or xa:
self.plugin.sleeper = common.sleepy.Sleepy(\
self.plugin.config['autoawaytime']*60, \
self.plugin.config['autoxatime']*60)