mirror of https://github.com/KLayout/klayout.git
Bugfix: double clicking an edge in partial mode opened the properties dialog, not setting a point
This commit is contained in:
parent
3af5568663
commit
b657cd9b57
|
|
@ -1770,6 +1770,7 @@ PartialService::edit_cancel ()
|
|||
|
||||
ui ()->ungrab_mouse (this);
|
||||
|
||||
clear_mouse_cursors ();
|
||||
close_editor_hooks (false);
|
||||
|
||||
selection_to_view ();
|
||||
|
|
|
|||
|
|
@ -269,9 +269,12 @@ MoveService::mouse_double_click_event (const db::DPoint &p, unsigned int buttons
|
|||
handle_click (p, buttons, false, 0);
|
||||
}
|
||||
|
||||
lay::SelectionService *selector = mp_view->selection_service ();
|
||||
if (selector) {
|
||||
return selector->mouse_double_click_event (p, buttons, prio);
|
||||
if (is_active ()) {
|
||||
// in move mode, a double click opens the properties dialog
|
||||
lay::SelectionService *selector = mp_view->selection_service ();
|
||||
if (selector) {
|
||||
return selector->mouse_double_click_event (p, buttons, prio);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue