diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-08-08 20:19:02 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-08-08 20:19:02 +0000 |
| commit | ea061109b19616f4bef39cbe77c4f16c7a28208d (patch) | |
| tree | 6da4391d1cb761be8cc5e18b88373c57f1d73b19 /src/ui/tool/multi-path-manipulator.cpp | |
| parent | allow more translations than only scale (diff) | |
| download | inkscape-ea061109b19616f4bef39cbe77c4f16c7a28208d.tar.gz inkscape-ea061109b19616f4bef39cbe77c4f16c7a28208d.zip | |
minor coding style changes
(bzr r14284)
Diffstat (limited to 'src/ui/tool/multi-path-manipulator.cpp')
| -rw-r--r-- | src/ui/tool/multi-path-manipulator.cpp | 9 |
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 46c6246a1..9ec6f733f 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)); |
