summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sp-lpe-item.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index 7dd14f5d9..6e58f7cd4 100644
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
@@ -16,6 +16,8 @@
# include "config.h"
#endif
+#include "ui/tool/multi-path-manipulator.h"
+
#include <glibmm/i18n.h>
#include "live_effects/effect.h"
@@ -36,6 +38,9 @@
#include "desktop.h"
#include "shape-editor.h"
#include "sp-ellipse.h"
+#include "tools-switch.h"
+#include "ui/tools/node-tool.h"
+#include "ui/tools/tool-base.h"
#include <algorithm>
@@ -417,6 +422,17 @@ void SPLPEItem::addPathEffect(gchar *value, bool reset)
// Apply the path effect
sp_lpe_item_update_patheffect(this, true, true);
+
+ //fix bug 1219324
+ Inkscape::UI::Tools::NodeTool *tool = 0;
+ if (SP_ACTIVE_DESKTOP ) {
+ Inkscape::UI::Tools::ToolBase *ec = SP_ACTIVE_DESKTOP->event_context;
+ if (INK_IS_NODE_TOOL(ec)) {
+ tool = static_cast<Inkscape::UI::Tools::NodeTool*>(ec);
+ tools_switch(SP_ACTIVE_DESKTOP, TOOLS_LPETOOL); //mhh
+ tools_switch(SP_ACTIVE_DESKTOP, TOOLS_NODES);
+ }
+ }
}
}