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:
Thomas Goyne 2010-06-28 07:12:36 +00:00
parent 743997b266
commit 9ff34fb00d

View file

@ -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) {