From aeae234fb7955e1579a734eca56909d26a549209 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Thu, 1 Aug 2024 23:12:20 +0200 Subject: [PATCH] Fixed issue #1814 (application freezes on Ctrl+Select) --- src/edt/edt/edtService.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/edt/edt/edtService.cc b/src/edt/edt/edtService.cc index a39fdcd02..f8201c964 100644 --- a/src/edt/edt/edtService.cc +++ b/src/edt/edt/edtService.cc @@ -1320,9 +1320,8 @@ Service::display_status (bool transient) { EditableSelectionIterator r = transient ? begin_transient_selection () : begin_selection (); EditableSelectionIterator rr = r; - ++rr; - if (rr.at_end ()) { + if (! rr.at_end () && (++rr).at_end ()) { const db::Layout &layout = view ()->cellview (r->cv_index ())->layout ();