summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-14 18:26:20 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-14 18:26:20 +0000
commita9a93932457e2ed53c60163414c8908119b13288 (patch)
treeac1ede8137ac65ae1fe78695a31ce77bc1dfd5c5 /src
parent3c4d30bf83f48dcbe992a769461cef9017f892c6 (diff)
Turn off test update checking if main update checking is turned off.
Diffstat (limited to 'src')
-rw-r--r--src/lib/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index 9c1f23161..7cc3cf7e4 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -405,6 +405,9 @@ public:
void set_check_for_updates (bool c) {
maybe_set (_check_for_updates, c);
+ if (!c) {
+ set_check_for_test_updates (false);
+ }
}
void set_check_for_test_updates (bool c) {