From 6fcfe73ca751f068978ce201094b17cf2dfe4d20 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:11:33 +0200 Subject: 3.16 --- ui/progress_indicator.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/progress_indicator.cpp') diff --git a/ui/progress_indicator.cpp b/ui/progress_indicator.cpp index 6e86fbba..aa25d07a 100644 --- a/ui/progress_indicator.cpp +++ b/ui/progress_indicator.cpp @@ -728,6 +728,8 @@ void SyncStatus::SyncStatusImpl::resetGauge(int totalObjectsToProcess, wxLongLon void SyncStatus::SyncStatusImpl::incProgressIndicator_NoUpdate(int objectsProcessed, wxLongLong dataProcessed) { + //assert(dataProcessed >= 0); + currentData += dataProcessed; currentObjects += objectsProcessed; } -- cgit