Revert r4612: "Remove redundant handler for ctrl-clicking the grid", as I completely misread what the code was doing.
Originally committed to SVN as r4626.
This commit is contained in:
parent
743997b266
commit
9ff34fb00d
1 changed files with 6 additions and 0 deletions
|
@ -796,6 +796,12 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Keep selection
|
||||||
|
if (click && !shift && !ctrl && alt) {
|
||||||
|
SetActiveLine(dlg);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Block select
|
// Block select
|
||||||
if ((click && shift && !alt) || (holding && !ctrl && !alt && !shift)) {
|
if ((click && shift && !alt) || (holding && !ctrl && !alt && !shift)) {
|
||||||
if (lastRow != -1) {
|
if (lastRow != -1) {
|
||||||
|
|
Loading…
Reference in a new issue