Skip to content

Commit

Permalink
Merge pull request #1815 from KLayout/bugfix/issue-1814
Browse files Browse the repository at this point in the history
Fixed issue #1814 (application freezes on Ctrl+Select)
  • Loading branch information
klayoutmatthias authored Aug 2, 2024
2 parents b993356 + aeae234 commit a5ea8eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/edt/edt/edtService.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();

Expand Down

0 comments on commit a5ea8eb

Please sign in to comment.