mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
f8af0239ce
commit
f8e86b2f4b
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue