diff options
Diffstat (limited to 'src/ui/interface.cpp')
| -rw-r--r-- | src/ui/interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp index 6bc94ab7a..0649da3df 100644 --- a/src/ui/interface.cpp +++ b/src/ui/interface.cpp @@ -1232,7 +1232,7 @@ sp_ui_drag_data_received(GtkWidget *widget, SPObject *new_obj = NULL; new_obj = desktop->currentLayer()->appendChildRepr(newgroup); - Inkscape::Selection *selection = sp_desktop_selection(desktop); + Inkscape::Selection *selection = desktop->getSelection(); selection->set(SP_ITEM(new_obj)); // move to mouse pointer |
