diff --git a/src/object/sp-lpe-item.cpp b/src/object/sp-lpe-item.cpp index 4dc4f07ff2907b4c605e9adce8bee0db23ebdc92..3a4f12008ebee6651399f0200254883c361f6082 100755 --- a/src/object/sp-lpe-item.cpp +++ b/src/object/sp-lpe-item.cpp @@ -1246,7 +1246,7 @@ size_t SPLPEItem::countLPEOfType(int const type, bool inc_hidden, bool is_ready) LivePathEffectObject const *lpeobj = (*it)->lpeobject; if (lpeobj) { Inkscape::LivePathEffect::Effect const* lpe = lpeobj->get_lpe(); - if (lpe && (lpe->effectType() == type) && lpe->is_visible || inc_hidden) { + if (lpe && (lpe->effectType() == type) && (lpe->is_visible || inc_hidden)) { if (is_ready || lpe->isReady()) { counter++; }