summaryrefslogtreecommitdiffstats
path: root/src/rect-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rect-context.cpp')
-rw-r--r--src/rect-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rect-context.cpp b/src/rect-context.cpp
index 999aa03b8..bbb809ef2 100644
--- a/src/rect-context.cpp
+++ b/src/rect-context.cpp
@@ -305,7 +305,7 @@ static gint sp_rect_context_root_handler(SPEventContext *event_context, GdkEvent
/* Snap center */
SnapManager &m = desktop->namedview->snap_manager;
- m.setup(desktop, NULL); //null, because we don't have an item yet
+ m.setup(desktop);
m.freeSnapReturnByRef(Inkscape::Snapper::SNAPPOINT_NODE, button_dt);
rc->center = from_2geom(button_dt);