diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-07-01 17:13:58 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2017-07-01 17:13:58 +0000 |
| commit | f19bf822a0c2a44ff6201e7d24c4646e2e98e4ed (patch) | |
| tree | 5459b5d6238a6788582d1fe944dedb300f0ee5d9 /src/ui/tools/connector-tool.cpp | |
| parent | Merge branch 'master' of gitlab.com:inkscape/inkscape (diff) | |
| parent | Merge branch 'master' of gitlab.com:inkscape/inkscape (diff) | |
| download | inkscape-f19bf822a0c2a44ff6201e7d24c4646e2e98e4ed.tar.gz inkscape-f19bf822a0c2a44ff6201e7d24c4646e2e98e4ed.zip | |
Merge branch 'master' of gitlab.com:Frigory33/inkscape
Diffstat (limited to 'src/ui/tools/connector-tool.cpp')
| -rw-r--r-- | src/ui/tools/connector-tool.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/tools/connector-tool.cpp b/src/ui/tools/connector-tool.cpp index 29be4831a..935463942 100644 --- a/src/ui/tools/connector-tool.cpp +++ b/src/ui/tools/connector-tool.cpp @@ -941,8 +941,7 @@ void ConnectorTool::_finish() { this->npoints = 0; if (this->newConnRef) { - this->newConnRef->removeFromGraph(); - delete this->newConnRef; + this->newConnRef->router()->deleteConnector(this->newConnRef); this->newConnRef = NULL; } } |
