From eea914fa48c40e9c79718565779d669b865ef1bc Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 9 Mar 2012 00:23:14 +0000 Subject: [PATCH] Don't select the start handle when a line is selected due to a click on the end handle in the drag visual tool Originally committed to SVN as r6550. --- aegisub/src/visual_tool_drag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/visual_tool_drag.cpp b/aegisub/src/visual_tool_drag.cpp index 479864ef1..3a845d5af 100644 --- a/aegisub/src/visual_tool_drag.cpp +++ b/aegisub/src/visual_tool_drag.cpp @@ -162,7 +162,7 @@ void VisualToolDrag::OnSelectedSetChanged(const Selection &added, const Selectio sel_features.erase(it); any_changed = true; } - else if (added.count(it->line) && it->type == DRAG_START) { + else if (added.count(it->line) && it->type == DRAG_START && !sel_features.count(it->parent)) { sel_features.insert(it); any_changed = true; }