mirror of https://github.com/KLayout/klayout.git
WIP: automatically calling ungrab_mouse on deactivation of plugin
This commit is contained in:
parent
2b04ecb1f7
commit
a24e2431a2
|
|
@ -331,6 +331,9 @@ void
|
|||
EditorServiceBase::deactivated ()
|
||||
{
|
||||
clear_mouse_cursors ();
|
||||
if (ui ()) {
|
||||
ui ()->ungrab_mouse (this);
|
||||
}
|
||||
m_active = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue