diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2014-03-12 23:35:43 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2014-03-12 23:35:43 +0000 |
| commit | da0a34bdba9070b53f02e09b74d70b822899f554 (patch) | |
| tree | ea31aaecf2575f560fa05715c425ccaca08d4fe7 /src/uri-references.cpp | |
| parent | incorrect gradient transform on copy&paste.. committing for mathog (diff) | |
| download | inkscape-da0a34bdba9070b53f02e09b74d70b822899f554.tar.gz inkscape-da0a34bdba9070b53f02e09b74d70b822899f554.zip | |
Disconnect before destroying URI
(bzr r13140)
Diffstat (limited to 'src/uri-references.cpp')
| -rw-r--r-- | src/uri-references.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uri-references.cpp b/src/uri-references.cpp index 1da890c56..6db2ed21f 100644 --- a/src/uri-references.cpp +++ b/src/uri-references.cpp @@ -115,10 +115,10 @@ void URIReference::attach(const URI &uri) throw(BadURIException) /* FIXME !!! validate id as an NCName somewhere */ + _connection.disconnect(); delete _uri; _uri = new URI(uri); - _connection.disconnect(); _setObject(document->getObjectById(id)); _connection = document->connectIdChanged(id, sigc::mem_fun(*this, &URIReference::_setObject)); |
