Code

patch from David Douard to switch to node tool after creating linked offsets
authormental <mental@users.sourceforge.net>
Thu, 18 Jan 2007 13:42:56 +0000 (13:42 +0000)
committermental <mental@users.sourceforge.net>
Thu, 18 Jan 2007 13:42:56 +0000 (13:42 +0000)
src/verbs.cpp

index 476170e994e4c94926db73c7dc56e67f37b86f13..2a8120aed357b55d6edb43627c5868c073b9f3bd 100644 (file)
@@ -1053,9 +1053,11 @@ SelectionVerb::perform(SPAction *action, void *data, void *pdata)
             break;
         case SP_VERB_SELECTION_DYNAMIC_OFFSET:
             sp_selected_path_create_offset_object_zero();
+            tools_switch_current(TOOLS_NODES);
             break;
         case SP_VERB_SELECTION_LINKED_OFFSET:
             sp_selected_path_create_updating_offset_object_zero();
+            tools_switch_current(TOOLS_NODES);
             break;
 
         case SP_VERB_SELECTION_OUTLINE: