From 894ee0297ea60c043a711fbbb5612eff8a68c3ee Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 12 Dec 2013 23:17:06 +0000 Subject: Move main selection index to SelectionList --- src/input_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_handler.cc') diff --git a/src/input_handler.cc b/src/input_handler.cc index b8c4470f..dea75944 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1082,7 +1082,7 @@ private: } } } - sort_and_merge_overlapping(editor.m_selections, editor.m_main_sel); + editor.m_selections.sort_and_merge_overlapping(); editor.check_invariant(); } -- cgit v1.2.3