mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-30 09:49:21 +02:00
Bugfix: double clicking an edge in partial mode opened the properties dialog, not setting a point
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user