change from Damian, which should solve a problem with the progress events coming from history

cusax-fix
Yana Stamcheva 20 years ago
parent 6d34acd168
commit 2120a8afa2

@ -350,9 +350,13 @@ private QueryResultSet find(
}
}
// end progress - maximum value
fireProgressStateChanged(startDate, endDate, keywords,
HistorySearchProgressListener.PROGRESS_MAXIMUM_VALUE);
// if maximum value is not reached fire an event
if((int)currentProgress < HistorySearchProgressListener.PROGRESS_MAXIMUM_VALUE)
{
fireProgressStateChanged(startDate, endDate, keywords,
HistorySearchProgressListener.
PROGRESS_MAXIMUM_VALUE);
}
return new OrderedQueryResultSet(result);
}

Loading…
Cancel
Save