diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2015-12-18 22:31:07 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2015-12-18 22:31:07 +0000 |
| commit | 38f4e0e9aeb0696939475ce9450a20b281144d27 (patch) | |
| tree | 81de96cf319a1d3bb74a7e06d99f43053bdf6f5d /src/document.cpp | |
| parent | Tutorials. German and Greek translations update. (diff) | |
| download | inkscape-38f4e0e9aeb0696939475ce9450a20b281144d27.tar.gz inkscape-38f4e0e9aeb0696939475ce9450a20b281144d27.zip | |
brings back CMS tab
Fixed bugs:
- https://launchpad.net/bugs/1504612
(bzr r14537)
Diffstat (limited to '')
| -rw-r--r-- | src/document.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/document.cpp b/src/document.cpp index b22b99e66..70fb56fe8 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -992,6 +992,8 @@ void SPDocument::bindObjectToId(gchar const *id, SPObject *object) { GQuark idq = g_quark_from_string(id); if (object) { + if(object->getId()) + priv->iddef.erase(object->getId()); g_assert(priv->iddef.find(id)==priv->iddef.end()); priv->iddef[id] = object; //g_assert(g_hash_table_lookup(priv->iddef, GINT_TO_POINTER(idq)) == NULL); |
