summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/node-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tools/node-tool.cpp')
-rw-r--r--src/ui/tools/node-tool.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/tools/node-tool.cpp b/src/ui/tools/node-tool.cpp
index 52632098f..a14114cb7 100644
--- a/src/ui/tools/node-tool.cpp
+++ b/src/ui/tools/node-tool.cpp
@@ -221,8 +221,9 @@ void NodeTool::setup() {
sigc::mem_fun(this, &NodeTool::handleControlUiStyleChange)
);
this->helperpath_tmpitem = nullptr;
- this->_selected_nodes = new Inkscape::UI::ControlPointSelection(this->desktop, this->_transform_handle_group);
-
+ if (this->_transform_handle_group) {
+ this->_selected_nodes = new Inkscape::UI::ControlPointSelection(this->desktop, this->_transform_handle_group);
+ }
data.node_data.selection = this->_selected_nodes;
this->_multipath = new Inkscape::UI::MultiPathManipulator(data, this->_selection_changed_connection);