summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2008-12-05 19:14:44 +0000
committersamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2008-12-05 19:14:44 +0000
commit32e6ad619734d264c8a91d67c1f8da5831db22ca (patch)
tree56ec6aa1f5a85ea94f4281b0f51bb0bf8dc6d91c
parente1fd2051f5b9d78f4530ad51016412de5168e314 (diff)
downloadnohands-32e6ad619734d264c8a91d67c1f8da5831db22ca.tar.gz
Halt the feedback test before attempting to save/restore config values.
git-svn-id: http://nohands.svn.sourceforge.net/svnroot/nohands/trunk@56 126591fb-c623-4b62-a76d-97a8e4f34109
-rwxr-xr-xdata/hfconsole.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/hfconsole.in b/data/hfconsole.in
index 2feb953..bba71ee 100755
--- a/data/hfconsole.in
+++ b/data/hfconsole.in
@@ -1138,7 +1138,6 @@ class HfConsole:
def config_close(self):
dlg = self['ConfigDialog']
dlg.hide()
- self['ConfigFeedbackTest'].set_active(False)
del self.config
if hasattr(self, 'loopback_active'):
del self.loopback_active
@@ -1180,6 +1179,7 @@ class HfConsole:
vals['ringer'] = ''
return vals
def config_save_vals(self):
+ self['ConfigFeedbackTest'].set_active(False)
if self['ConfigSecNone'].get_active():
secmode = 0
elif self['ConfigSecAuth'].get_active():
@@ -1204,6 +1204,7 @@ class HfConsole:
self.configfile.set('options', 'detach_command', cmd)
self.configfile.write(open(self.configfile_name, 'w+'))
def config_restore_vals(self, vals):
+ self['ConfigFeedbackTest'].set_active(False)
self.soundio.SetDriver(self.config['drivers'][
self.config['driver']],
self.config['driveropts'])