Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
f22f7f7f
Commit
f22f7f7f
authored
Aug 14, 2013
by
tstellanova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't re-request param list each time we open a param widget
parent
d3db72a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
QGCUASParamManager.cc
src/uas/QGCUASParamManager.cc
+0
-1
QGCParamWidget.cc
src/ui/QGCParamWidget.cc
+4
-2
No files found.
src/uas/QGCUASParamManager.cc
View file @
f22f7f7f
...
...
@@ -45,7 +45,6 @@ void QGCUASParamManager::requestParameterList()
if
(
!
mav
)
{
return
;
}
//paramDataModel->forgetAllOnboardParameters(); //TODO really??
setParameterStatusMsg
(
tr
(
"Requested param list.. waiting"
));
paramCommsMgr
->
requestParameterList
();
}
...
...
src/ui/QGCParamWidget.cc
View file @
f22f7f7f
...
...
@@ -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
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment