summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorkamalpreetgrewal <grewalkamal005@gmail.com>2016-06-11 17:24:16 +0000
committerkamalpreetgrewal <grewalkamal005@gmail.com>2016-06-11 17:24:16 +0000
commit73332a695054f5a550137df93d87c4208d966cbf (patch)
treecf1efa8fbb8dba8085ae006d9f50f5984a46867d /src/live_effects/effect.cpp
parentApply patch for broken automake (diff)
parentA little cleaning up of attributes. (diff)
downloadinkscape-73332a695054f5a550137df93d87c4208d966cbf.tar.gz
inkscape-73332a695054f5a550137df93d87c4208d966cbf.zip
Merge changes from trunk
(bzr r14949.1.10)
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;