Commit f22f7f7f authored by tstellanova's avatar tstellanova

don't re-request param list each time we open a param widget

parent d3db72a6
......@@ -45,7 +45,6 @@ void QGCUASParamManager::requestParameterList()
if (!mav) {
return;
}
//paramDataModel->forgetAllOnboardParameters(); //TODO really??
setParameterStatusMsg(tr("Requested param list.. waiting"));
paramCommsMgr->requestParameterList();
}
......
......@@ -62,8 +62,9 @@ void QGCParamWidget::init()
layoutWidget();
connectSignalsAndSlots();
// Ensure we're receiving the list of params
requestAllParamsUpdate();
// Ensure we have a list of params
paramCommsMgr->requestParameterListIfEmpty();
}
void QGCParamWidget::connectSignalsAndSlots()
......@@ -497,6 +498,7 @@ void QGCParamWidget::requestAllParamsUpdate()
// Clear view and request param list
clear();
//paramDataModel->forgetAllOnboardParameters(); //TODO really??
requestParameterList();
}
......
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