1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

OP-1168 Bug made Reload board data not work.

This commit is contained in:
Fredrik Arvidsson 2014-01-19 14:07:48 +01:00
parent 2575a37690
commit 8fb17f7383

View File

@ -746,7 +746,7 @@ void ConfigTaskWidget::reloadButtonClicked()
}
int groupID = sender()->property("group").toInt();
QList<WidgetBinding *> bindings = m_reloadGroups.values(groupID);
if (!bindings.isEmpty()) {
if (bindings.isEmpty()) {
return;
}
ObjectPersistence *objper = dynamic_cast<ObjectPersistence *>(getObjectManager()->getObject(ObjectPersistence::NAME));