mirror of https://github.com/KLayout/klayout.git
Merge pull request #1815 from KLayout/bugfix/issue-1814
Fixed issue #1814 (application freezes on Ctrl+Select)
This commit is contained in:
commit
a5ea8eb590
|
|
@ -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 ();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue