summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/multi-path-manipulator.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-08-21 21:54:57 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-08-21 21:54:57 +0000
commit584f35dcc621f5877732cf310c310570c021c31d (patch)
tree6dd2b5612d3a41949ca87828c7cf27713e059675 /src/ui/tool/multi-path-manipulator.cpp
parentNot sure about this changes :( (diff)
parentindentation and whitespace fixes (diff)
downloadinkscape-584f35dcc621f5877732cf310c310570c021c31d.tar.gz
inkscape-584f35dcc621f5877732cf310c310570c021c31d.zip
update to trunk
(bzr r13645.1.108)
Diffstat (limited to 'src/ui/tool/multi-path-manipulator.cpp')
-rw-r--r--src/ui/tool/multi-path-manipulator.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ui/tool/multi-path-manipulator.cpp b/src/ui/tool/multi-path-manipulator.cpp
index 4e9c3bf67..857f954ce 100644
--- a/src/ui/tool/multi-path-manipulator.cpp
+++ b/src/ui/tool/multi-path-manipulator.cpp
@@ -683,13 +683,14 @@ bool MultiPathManipulator::event(Inkscape::UI::Tools::ToolBase *event_context, G
//if the trace is bspline ( mode 2)
if(mode==2){
// is this correct ?
- if(del_preserves_shape ^ held_control(event->key))
+ if(del_preserves_shape ^ held_control(event->key)){
deleteNodes(false);
- else
+ } else {
deleteNodes(true);
- }
- else
+ }
+ } else {
deleteNodes(del_preserves_shape ^ held_control(event->key));
+ }
// Delete any selected gradient nodes as well
event_context->deleteSelectedDrag(held_control(event->key));