Turn off test update checking if main update checking is turned off.
authorCarl Hetherington <cth@carlh.net>
Sat, 14 Nov 2015 18:26:20 +0000 (18:26 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 14 Nov 2015 18:26:20 +0000 (18:26 +0000)
src/lib/config.h

index 9c1f231611e33b5e5b77a03004ac3311886b9c42..7cc3cf7e4968ed7755b78c5dd5e553ca7c937778 100644 (file)
@@ -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) {