Mercurial > code > home > repos > light9
diff bin/gyrocontroller @ 259:60b6471fb0d2
TkGyro: stamp current sub+level when toggling modes
author | David McClosky <dmcc@bigasterisk.com> |
---|---|
date | Thu, 16 Jun 2005 06:32:36 +0000 |
parents | c9940e4e68d6 |
children | 97c08a1c4351 |
line wrap: on
line diff
--- a/bin/gyrocontroller Thu Jun 16 05:16:30 2005 +0000 +++ b/bin/gyrocontroller Thu Jun 16 06:32:36 2005 +0000 @@ -69,6 +69,7 @@ self.current_sub = self.submasters.get_sub_by_name(self.all_subs.prev()) def toggle_keep_mode(self): if self.keep_solo_mode == 'keep': + self.kept_levels[self.current_sub] = self.current_level self.keep_solo_mode = 'solo' else: self.keep_solo_mode = 'keep'