diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-04-30 00:12:58 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-04-30 00:12:58 +0000 |
| commit | 290c8499f0f609279f2d770ad7e31f4c011aa7da (patch) | |
| tree | 32a33a0452cba0a90648e832d4287a80ec814f27 /src/splivarot.cpp | |
| parent | Fix a small issue with Attach Path (diff) | |
| parent | Fix bug #1290573 and #1310802 (diff) | |
| download | inkscape-290c8499f0f609279f2d770ad7e31f4c011aa7da.tar.gz inkscape-290c8499f0f609279f2d770ad7e31f4c011aa7da.zip | |
Fix an issue with doOnRemove not being called
(bzr r13090.1.70)
Diffstat (limited to 'src/splivarot.cpp')
| -rw-r--r-- | src/splivarot.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp index a08809adf..8bb2a7150 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -1340,10 +1340,6 @@ sp_selected_path_outline(SPDesktop *desktop) gchar *title = item->title(); // remember description gchar *desc = item->desc(); - // remember highlight color - guint32 highlight_color = 0; - if (item->isHighlightSet()) - highlight_color = item->highlight_color(); if (res->descr_cmd.size() > 1) { // if there's 0 or 1 node left, drop this path altogether @@ -1386,9 +1382,6 @@ sp_selected_path_outline(SPDesktop *desktop) if (desc) { newitem->setDesc(desc); } - if (highlight_color && newitem) { - newitem->setHighlightColor( highlight_color ); - } SPShape *shape = SP_SHAPE(item); @@ -1464,8 +1457,7 @@ sp_selected_path_outline(SPDesktop *desktop) g_repr, xml_doc, doc ); } } - //bug 1290573: completely destroy the old object first to prevent - //an ID clash, which has issues on undo + //bug lp:1290573 : completely destroy the old object first curve->unref(); selection->remove(item); item->deleteObject(false); @@ -1476,8 +1468,7 @@ sp_selected_path_outline(SPDesktop *desktop) } else { - //bug 1290573: completely destroy the old object first to prevent - //an ID clash, which has issues on undo + //lp:1290573 curve->unref(); selection->remove(item); item->deleteObject(false); @@ -1499,9 +1490,6 @@ sp_selected_path_outline(SPDesktop *desktop) if (desc) { newitem->setDesc(desc); } - if (highlight_color && newitem) { - newitem->setHighlightColor( highlight_color ); - } selection->add(repr); |
