Merge pull request #1815 from KLayout/bugfix/issue-1814

Fixed issue #1814 (application freezes on Ctrl+Select)
This commit is contained in:
Matthias Köfferlein 2024-08-03 00:40:40 +02:00 committed by GitHub
commit a5ea8eb590
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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 ();