Commit 82bc2f15 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED unnecessary double call to getWidget()

parent 2c4a7488
......@@ -284,7 +284,7 @@ void ActionState::onEntry(QEvent* event) {
actionWidget->setButtonVisibility(false);
}
// set the widget
this->myStateWidget->setActionWidget(this->myAction->getWidget());
this->myStateWidget->setActionWidget(actionWidget);
}
}
......
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