summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosh Andler <scislac@gmail.com>2014-04-26 00:18:51 +0000
committerJosh Andler <scislac@gmail.com>2014-04-26 00:18:51 +0000
commit512ef0bfb6e8a671be141e163c91390380bceb14 (patch)
tree4a89bd98beac7e35d7ba332b1c586de13abfb806 /src
parentFix for on-canvas LPE controls to display immediately. (diff)
downloadinkscape-512ef0bfb6e8a671be141e163c91390380bceb14.tar.gz
inkscape-512ef0bfb6e8a671be141e163c91390380bceb14.zip
Fix warning from previous commit.
(bzr r13307)
Diffstat (limited to 'src')
-rw-r--r--src/sp-lpe-item.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp
index 6e58f7cd4..f59bc33ee 100644
--- a/src/sp-lpe-item.cpp
+++ b/src/sp-lpe-item.cpp
@@ -424,11 +424,9 @@ void SPLPEItem::addPathEffect(gchar *value, bool reset)
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);
}