Changeset 109

Show
Ignore:
Timestamp:
10/20/07 16:14:20 (1 year ago)
Author:
daboo
Message:

Make sure selection bit-vector is properly initialized.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Mulberry/trunk/Linux/Sources/PP_Sources/Tables/UNX_LTableMultiSelector.cp

    r21 r109  
    4646        mAnchorCell.SetCell(0, 0); 
    4747        mBoatCell.SetCell(0, 0); 
     48 
     49        // Table may already have cells so init the selection bit-vector 
     50        TableIndexT rows, cols; 
     51        mTableView->GetTableSize(rows, cols); 
     52        if ((rows != 0) && (cols != 0)) 
     53                mSelection.insert(mSelection.begin(), rows * cols, false); 
    4854} 
    4955