From 58981c50680bc240672d7fbbdac56a7f4f72c567 Mon Sep 17 00:00:00 2001
From: Thomas Goyne <plorkyeran@aegisub.org>
Date: Sun, 14 Oct 2012 08:31:16 -0700
Subject: [PATCH] Make the correct row visible when selecting rows with shift +
 arrow keys in the grid. Closes #1533.

---
 aegisub/src/base_grid.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aegisub/src/base_grid.cpp b/aegisub/src/base_grid.cpp
index 8f134143b..156629132 100644
--- a/aegisub/src/base_grid.cpp
+++ b/aegisub/src/base_grid.cpp
@@ -1045,7 +1045,7 @@ void BaseGrid::OnKeyDown(wxKeyEvent &event) {
 
 		SetSelectedSet(newsel);
 
-		MakeCellVisible(extendRow, 0, false);
+		MakeCellVisible(next, 0, false);
 		return;
 	}
 }
-- 
GitLab