summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index ca6a72ca2..c2e80db78 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -968,7 +968,7 @@ static ShapeEditor *get_current_shape_editor()
return NULL;
}
- return SP_NODE_CONTEXT(event_context)->shape_editor;
+ return event_context->shape_editor;
}