Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
fe401d20
Commit
fe401d20
authored
Feb 06, 2011
by
pixhawk
Browse files
Added missing update call, renamed Waypoint List to Mission Plan
parent
0e176fac
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ui/MainWindow.cc
View file @
fe401d20
...
...
@@ -325,10 +325,10 @@ void MainWindow::buildCommonWidgets()
if
(
!
waypointsDockWidget
)
{
waypointsDockWidget
=
new
QDockWidget
(
tr
(
"
Waypoint List
"
),
this
);
waypointsDockWidget
=
new
QDockWidget
(
tr
(
"
Mission Plan
"
),
this
);
waypointsDockWidget
->
setWidget
(
new
QGCWaypointListMulti
(
this
)
);
waypointsDockWidget
->
setObjectName
(
"WAYPOINT_LIST_DOCKWIDGET"
);
addToToolsMenu
(
waypointsDockWidget
,
tr
(
"
Waypoints List
"
),
SLOT
(
showToolWidget
(
bool
)),
MENU_WAYPOINTS
,
Qt
::
BottomDockWidgetArea
);
addToToolsMenu
(
waypointsDockWidget
,
tr
(
"
Mission Plan
"
),
SLOT
(
showToolWidget
(
bool
)),
MENU_WAYPOINTS
,
Qt
::
BottomDockWidgetArea
);
}
if
(
!
infoDockWidget
)
...
...
src/ui/WaypointView.cc
View file @
fe401d20
...
...
@@ -251,6 +251,8 @@ void WaypointView::changedAction(int index)
case
MAV_ACTION_RELAY_OFF
:
// Back to global frame
if
(
wp
->
getFrame
()
==
MAV_FRAME_MISSION
)
changedFrame
(
0
);
// Update view
updateActionView
(
actionIndex
);
break
;
case
MAV_ACTION_NB
:
default:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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