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
549d7c85
Commit
549d7c85
authored
Jan 11, 2016
by
Don Gagne
Browse files
Prevent map from stealing ListView scrolls
parent
e5a83d8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionEditor/MissionEditor.qml
View file @
549d7c85
...
@@ -359,6 +359,14 @@ QGCView {
...
@@ -359,6 +359,14 @@ QGCView {
opacity
:
_rightPanelOpacity
opacity
:
_rightPanelOpacity
z
:
QGroundControl
.
zOrderTopMost
z
:
QGroundControl
.
zOrderTopMost
MouseArea
{
// This MouseArea prevents the Map below it from getting Mouse events. Without this
// things like mousewheel will scroll the Flickable and then scroll the map as well.
anchors.fill
:
parent
preventStealing
:
true
onWheel
:
wheel
.
accepted
=
true
}
ListView
{
ListView
{
anchors.fill
:
parent
anchors.fill
:
parent
spacing
:
_margin
/
2
spacing
:
_margin
/
2
...
...
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