Dive d/l selection UI: Fill the checked vector as true

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-01-08 11:07:27 -02:00 committed by Dirk Hohndel
parent f8af0239ce
commit f8e86b2f4b

View file

@ -569,5 +569,6 @@ void DiveImportedModel::setImportedDivesIndexes(int first, int last)
firstIndex = first;
delete[] checkStates;
checkStates = new bool[last-first];
memset(checkStates, true, last-first);
endInsertRows();
}