diff options
| author | Jabiertxof <jtx@jtx> | 2017-05-05 23:11:06 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-05-05 23:11:06 +0000 |
| commit | 79778c1b0a01926c1f43065525ef55a55e11587c (patch) | |
| tree | a0b4fa3c8fedda61352e9855d32ef23b6a1b308a /src/live_effects/parameter/fontbutton.cpp | |
| parent | merge lpeUpdDefaultParams (diff) | |
| download | inkscape-79778c1b0a01926c1f43065525ef55a55e11587c.tar.gz inkscape-79778c1b0a01926c1f43065525ef55a55e11587c.zip | |
LPE widget refactor. Improvement to not update on same value
(bzr r15665)
Diffstat (limited to 'src/live_effects/parameter/fontbutton.cpp')
| -rw-r--r-- | src/live_effects/parameter/fontbutton.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/live_effects/parameter/fontbutton.cpp b/src/live_effects/parameter/fontbutton.cpp index 5add69c1d..ca8908f0e 100644 --- a/src/live_effects/parameter/fontbutton.cpp +++ b/src/live_effects/parameter/fontbutton.cpp @@ -74,7 +74,9 @@ FontButtonParam::param_newWidget() void FontButtonParam::param_setValue(const Glib::ustring newvalue) { - param_effect->upd_params = true; + if (value != newvalue) { + param_effect->upd_params = true; + } value = newvalue; } |
