mirror of https://github.com/KLayout/klayout.git
Small issue fixed: when images are selected and images are turned off, the selection persisted
This commit is contained in:
parent
1cd9cbc8ba
commit
8fa97d7fcc
|
|
@ -465,6 +465,9 @@ void
|
|||
Service::show_images (bool f)
|
||||
{
|
||||
if (m_images_visible != f) {
|
||||
if (! f) {
|
||||
clear_selection ();
|
||||
}
|
||||
m_images_visible = f;
|
||||
view ()->redraw_deco_layer ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue