If an update check is *not* due, then don't do the check

This commit is contained in:
baldurk
2018-03-05 19:31:43 +00:00
parent 039a8aec13
commit 0b3026346f
+1 -1
View File
@@ -1219,7 +1219,7 @@ void MainWindow::CheckUpdates(bool forceCheck, UpdateResultMethod callback)
return;
}
if(!forceCheck && checkDue)
if(!forceCheck && !checkDue)
{
if(callback)
callback(UpdateResult::Toosoon);