summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/bitmap/channel.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-07-22 23:06:21 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-08-31 14:50:38 +0000
commit8f7a3a637f6a465e78e88490a03f539f0d8fdc1a (patch)
treee503502036ba4268921ded10a81ab3b4157d89d5 /src/extension/internal/bitmap/channel.cpp
parentMove error classes to Parameter where they belong (diff)
downloadinkscape-8f7a3a637f6a465e78e88490a03f539f0d8fdc1a.tar.gz
inkscape-8f7a3a637f6a465e78e88490a03f539f0d8fdc1a.zip
Refactor a lot of the parameter handling code
Many fixes, improvements and simplifications to existing code. Implements the first part of the changes discussed in https://gitlab.com/inkscape/inkscape/issues/333
Diffstat (limited to 'src/extension/internal/bitmap/channel.cpp')
-rw-r--r--src/extension/internal/bitmap/channel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/internal/bitmap/channel.cpp b/src/extension/internal/bitmap/channel.cpp
index fb0dad635..be0cce2e1 100644
--- a/src/extension/internal/bitmap/channel.cpp
+++ b/src/extension/internal/bitmap/channel.cpp
@@ -36,7 +36,7 @@ Channel::applyEffect(Magick::Image *image) {
void
Channel::refreshParameters(Inkscape::Extension::Effect *module) {
- _layerName = module->get_param_enum("layer");
+ _layerName = module->get_param_optiongroup("layer");
}
#include "../clear-n_.h"