summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-07-19 22:06:37 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-07-19 22:06:37 +0000
commit7e68da8d1bc6a91031fa4a05cc5f8ca032bd960d (patch)
tree4e337de4b088fd9f480569fef227a95d6d3b29a6 /src/shape-editor.cpp
parentWarnings cleaup. (diff)
downloadinkscape-7e68da8d1bc6a91031fa4a05cc5f8ca032bd960d.tar.gz
inkscape-7e68da8d1bc6a91031fa4a05cc5f8ca032bd960d.zip
Workarounds for crash bugs 1309050, 601336; will fix properly in experimental
Fixed bugs: - https://launchpad.net/bugs/601336 - https://launchpad.net/bugs/1309050 (bzr r13455)
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index bf53e8bc3..acb1abfb0 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -145,7 +145,7 @@ void ShapeEditor::shapeeditor_event_attr_changed(gchar const *name)
if (changed_kh) {
// this can happen if an LPEItem's knotholder handle was dragged, in which case we want
// to keep the knotholder; in all other cases (e.g., if the LPE itself changes) we delete it
- reset_item(SH_KNOTHOLDER, !strcmp(name, "d"));
+ reset_item(SH_KNOTHOLDER, !strcmp(name, "d") || !strcmp(name, "style"));
}
}
}