Commit 1176cdec authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix typo in previous commit (correctly display collapsed effects)

parent b2aa7436
Pipeline #9691 passed with stage
in 26 minutes and 46 seconds
...@@ -210,7 +210,7 @@ CollapsibleEffectView::CollapsibleEffectView(const std::shared_ptr<EffectItemMod ...@@ -210,7 +210,7 @@ CollapsibleEffectView::CollapsibleEffectView(const std::shared_ptr<EffectItemMod
cb->installEventFilter(this); cb->installEventFilter(this);
cb->setFocusPolicy(Qt::StrongFocus); cb->setFocusPolicy(Qt::StrongFocus);
} }
QMetaObject::invokeMethod(this, "slotSwitch", Qt::QueuedConnection, Q_ARG(bool, false)); QMetaObject::invokeMethod(this, "slotSwitch", Qt::QueuedConnection, Q_ARG(bool, m_model->isCollapsed()));
} }
CollapsibleEffectView::~CollapsibleEffectView() CollapsibleEffectView::~CollapsibleEffectView()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment