Commit f748d220 authored by Clinton Stimpson's avatar Clinton Stimpson
Browse files

BUG: call click() when toggling buttons, so appropriate signals are emitted.

      Fixes #5981.
parent 774944e0
......@@ -50,7 +50,7 @@ bool pqAbstractBooleanEventPlayer::playEvent(QObject* Object, const QString& Com
if(QAbstractButton* const object = qobject_cast<QAbstractButton*>(Object))
{
if(value != object->isChecked())
object->setChecked(value);
object->click();
return true;
}
......
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