summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-06-11 11:51:02 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-06-11 11:51:02 +0000
commit0a08d7714145c5fc355d086ed7d45dd285bd5d59 (patch)
tree0c29be3eace620797158f7b3a83c2210e6d15623 /src/live_effects/effect.cpp
parent[Bug 1588983] Finish up German tutorials for 0.92 - part 3. (diff)
downloadinkscape-0a08d7714145c5fc355d086ed7d45dd285bd5d59.tar.gz
inkscape-0a08d7714145c5fc355d086ed7d45dd285bd5d59.zip
fix-bugs #540591 #1287996 and #456503 related to undo in path parameters of LPE
Fixed bugs: - https://launchpad.net/bugs/540591 - https://launchpad.net/bugs/1287996 - https://launchpad.net/bugs/456503 (bzr r14975)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 732c67304..1868ca43b 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -714,6 +714,7 @@ Effect::getParameter(const char * key)
{
Glib::ustring stringkey(key);
+ if (param_vector.empty()) return NULL;
std::vector<Parameter *>::iterator it = param_vector.begin();
while (it != param_vector.end()) {
Parameter * param = *it;