MCPcopy Create free account
hub / github.com/KDE/labplot / aspectDeselectedInView

Method aspectDeselectedInView

src/backend/core/AspectTreeModel.cpp:552–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550}
551
552void AspectTreeModel::aspectDeselectedInView(const AbstractAspect* aspect) {
553 if (aspect->isHidden()) {
554 auto* parent = aspect->parentAspect();
555 if (parent)
556 Q_EMIT indexDeselected(modelIndexOfAspect(parent));
557 } else
558 Q_EMIT indexDeselected(modelIndexOfAspect(aspect));
559}

Callers

nothing calls this directly

Calls 2

parentAspectMethod · 0.80
isHiddenMethod · 0.45

Tested by

no test coverage detected