Commit 5d7e336b authored by LE BRETON Come's avatar LE BRETON Come

Fix recovering value from parameter.

parent 1faeda39
......@@ -63,7 +63,7 @@ bool dtkWidgetsParameterBoolPushButton::connect(dtkCoreParameter *p)
d->push_button->setToolTip(m_parameter->documentation());
d->running = p->variant().value<dtk::d_bool>().value();
d->running = m_parameter->value();
if(d->running) {
qWarning() << Q_FUNC_INFO << "It is not advised to set d_bool parameter to on before connecting";
......
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