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
fe401d20
Commit
fe401d20
authored
Feb 06, 2011
by
pixhawk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing update call, renamed Waypoint List to Mission Plan
parent
0e176fac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
MainWindow.cc
src/ui/MainWindow.cc
+2
-2
WaypointView.cc
src/ui/WaypointView.cc
+2
-0
No files found.
src/ui/MainWindow.cc
View file @
fe401d20
...
@@ -325,10 +325,10 @@ void MainWindow::buildCommonWidgets()
...
@@ -325,10 +325,10 @@ void MainWindow::buildCommonWidgets()
if
(
!
waypointsDockWidget
)
if
(
!
waypointsDockWidget
)
{
{
waypointsDockWidget
=
new
QDockWidget
(
tr
(
"
Waypoint List
"
),
this
);
waypointsDockWidget
=
new
QDockWidget
(
tr
(
"
Mission Plan
"
),
this
);
waypointsDockWidget
->
setWidget
(
new
QGCWaypointListMulti
(
this
)
);
waypointsDockWidget
->
setWidget
(
new
QGCWaypointListMulti
(
this
)
);
waypointsDockWidget
->
setObjectName
(
"WAYPOINT_LIST_DOCKWIDGET"
);
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
)
if
(
!
infoDockWidget
)
...
...
src/ui/WaypointView.cc
View file @
fe401d20
...
@@ -251,6 +251,8 @@ void WaypointView::changedAction(int index)
...
@@ -251,6 +251,8 @@ void WaypointView::changedAction(int index)
case
MAV_ACTION_RELAY_OFF
:
case
MAV_ACTION_RELAY_OFF
:
// Back to global frame
// Back to global frame
if
(
wp
->
getFrame
()
==
MAV_FRAME_MISSION
)
changedFrame
(
0
);
if
(
wp
->
getFrame
()
==
MAV_FRAME_MISSION
)
changedFrame
(
0
);
// Update view
updateActionView
(
actionIndex
);
break
;
break
;
case
MAV_ACTION_NB
:
case
MAV_ACTION_NB
:
default:
default:
...
...
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