From 74d887a4c4fb16dbf739de2bccaaf71747d50c71 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 27 Jun 2010 04:55:08 +0000 Subject: [PATCH] Add ctrl-shift-click block selection adding Originally committed to SVN as r4615. --- aegisub/src/base_grid.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aegisub/src/base_grid.cpp b/aegisub/src/base_grid.cpp index 33d81f93b..42b4fdf4b 100644 --- a/aegisub/src/base_grid.cpp +++ b/aegisub/src/base_grid.cpp @@ -790,7 +790,7 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) { } // Block select - if ((click && shift && !ctrl && !alt) || (holding && !ctrl && !alt && !shift)) { + if ((click && shift && !alt) || (holding && !ctrl && !alt && !shift)) { if (lastRow != -1) { // Set boundaries int i1 = row; @@ -801,6 +801,7 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) { // Toggle each Selection newsel; + if (ctrl) newsel = selection; for (int i=i1;i<=i2;i++) { newsel.insert(GetDialogue(i)); }