Bugfix: double clicking an edge in partial mode opened the properties dialog, not setting a point

This commit is contained in:
Matthias Koefferlein 2026-02-24 21:44:33 +01:00
parent 3af5568663
commit b657cd9b57
2 changed files with 7 additions and 3 deletions

View File

@ -1770,6 +1770,7 @@ PartialService::edit_cancel ()
ui ()->ungrab_mouse (this);
clear_mouse_cursors ();
close_editor_hooks (false);
selection_to_view ();

View File

@ -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);
}
}
}