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
97c80463
Commit
97c80463
authored
Jul 31, 2018
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
f4ccb45f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
FactValueSlider.qml
src/FactSystem/FactControls/FactValueSlider.qml
+2
-1
ParameterEditorDialog.qml
src/QmlControls/ParameterEditorDialog.qml
+2
-1
No files found.
src/FactSystem/FactControls/FactValueSlider.qml
View file @
97c80463
...
...
@@ -71,7 +71,8 @@ Rectangle {
id
:
editDialogComponent
ParameterEditorDialog
{
fact
:
_fact
fact
:
_fact
setFocus
:
ScreenTools
.
isMobile
?
false
:
true
// Works around strange android bug where wrong virtual keyboard is displayed
}
}
...
...
src/QmlControls/ParameterEditorDialog.qml
View file @
97c80463
...
...
@@ -27,6 +27,7 @@ QGCViewDialog {
property
bool
showRCToParam
:
false
property
bool
validate
:
false
property
string
validateValue
property
bool
setFocus
:
true
///< true: focus is set to text field on display, false: focus not set (works around strange virtual keyboard bug with FactValueSlider
signal
valueChanged
...
...
@@ -122,7 +123,7 @@ QGCViewDialog {
unitsLabel
:
fact
.
units
showUnits
:
fact
.
units
!=
""
Layout.fillWidth
:
true
focus
:
true
focus
:
setFocus
inputMethodHints
:
(
fact
.
typeIsString
||
ScreenTools
.
isiOS
)
?
Qt
.
ImhNone
:
// iOS numeric keyboard has no done button, we can't use it
Qt
.
ImhFormattedNumbersOnly
// Forces use of virtual numeric keyboard
...
...
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