Skip to content

Commit

Permalink
#431 shift-click selection doesn't work for sorted values in table
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed May 22, 2016
1 parent cc4dc20 commit d3e9b7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DataViewer/TableBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ void TableBase::FromGridSelectRowRange(int first_row, int last_row)
for (int i=0; i<hl_size; ++i) {
if (i < first_row || i > last_row) {
if (hs[row_order[i]]) {
hs[i] = false;
hs[row_order[i]] = false;
selection_changed = true;
}
} else {
if (!hs[row_order[i]]) {
hs[i] = true;
hs[row_order[i]] = true;
selection_changed = true;
}
}
Expand Down

0 comments on commit d3e9b7f

Please sign in to comment.