summaryrefslogtreecommitdiffstats
path: root/src/widgets/node-toolbar.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-01-09 16:47:29 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-01-09 16:47:29 +0000
commit13abf3e6f87b4bc85708bfd8d8fe93deb76facdc (patch)
tree8f5021ba5ae6123d242f5740c45611266a317071 /src/widgets/node-toolbar.cpp
parentFix a bug whith oposite handles on node move,and a little cleanup (diff)
parentFix for bug #1266113 (xcf export only allows 90 dpi). (diff)
downloadinkscape-13abf3e6f87b4bc85708bfd8d8fe93deb76facdc.tar.gz
inkscape-13abf3e6f87b4bc85708bfd8d8fe93deb76facdc.zip
update to trunk
(bzr r11950.1.233)
Diffstat (limited to 'src/widgets/node-toolbar.cpp')
-rw-r--r--src/widgets/node-toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/node-toolbar.cpp b/src/widgets/node-toolbar.cpp
index 6a0968424..a4ea52287 100644
--- a/src/widgets/node-toolbar.cpp
+++ b/src/widgets/node-toolbar.cpp
@@ -244,7 +244,7 @@ static void sp_node_toolbox_coord_changed(gpointer /*shape_editor*/, GObject *tb
Unit const *unit = tracker->getActiveUnit();
NodeTool *nt = get_node_tool();
- if (!nt || nt->_selected_nodes->empty()) {
+ if (!nt || !(nt->_selected_nodes) ||nt->_selected_nodes->empty()) {
// no path selected
gtk_action_set_sensitive(xact, FALSE);
gtk_action_set_sensitive(yact, FALSE);