summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-14 18:26:55 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-14 18:26:55 +0000
commitb25fb46d830ec091fefd473a1bfe52b527a43eee (patch)
tree11218669ecdf4efeda009def54a129063f877232 /src
parenta9a93932457e2ed53c60163414c8908119b13288 (diff)
Disable test-update checking if normal update checking is off.
Diffstat (limited to 'src')
-rw-r--r--src/wx/config_dialog.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc
index 61c526c3c..61685b0e5 100644
--- a/src/wx/config_dialog.cc
+++ b/src/wx/config_dialog.cc
@@ -255,24 +255,25 @@ private:
_language->SetSelection (1);
}
- setup_language_sensitivity ();
-
checked_set (_num_local_encoding_threads, config->num_local_encoding_threads ());
checked_set (_automatic_audio_analysis, config->automatic_audio_analysis ());
checked_set (_check_for_updates, config->check_for_updates ());
checked_set (_check_for_test_updates, config->check_for_test_updates ());
checked_set (_issuer, config->dcp_issuer ());
checked_set (_creator, config->dcp_creator ());
+
+ setup_sensitivity ();
}
- void setup_language_sensitivity ()
+ void setup_sensitivity ()
{
_language->Enable (_set_language->GetValue ());
+ _check_for_test_updates->Enable (_check_for_updates->GetValue ());
}
void set_language_changed ()
{
- setup_language_sensitivity ();
+ setup_sensitivity ();
if (_set_language->GetValue ()) {
language_changed ();
} else {