Code

move shape_editor from node context to the parent class, event context
[inkscape.git] / src / widgets / toolbox.cpp
index ca6a72ca2ec6c929393caac18f4bc88f7d5834ac..c2e80db784b3065c415ca4cbcbc26499db7032f1 100644 (file)
@@ -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;
 }