提交 00ef99ca 编写于 作者: S serge-rider

#6613 RSV: deselect rows in alt mode


Former-commit-id: 4058ddf5
上级 e274dc27
......@@ -2613,6 +2613,14 @@ public abstract class LightGrid extends Canvas {
}
if (reverse) {
if (alt && newCells.size() == 1) {
// Alt pressed - deselect all cells selected in other rows (#6613)
int row = newCells.get(0).row;
newCells = new ArrayList<>();
for (GridColumn col : selectedColumns) {
newCells.add(new GridPos(col.getIndex(), row));
}
}
selectedCells.removeAll(newCells);
} else {
if (alt && newCells.size() == 1) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册