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
3e7d9375
Commit
3e7d9375
authored
Dec 30, 2015
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Focus is still not working correctly
Causes UI to hang up
parent
3a1f28cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ParameterEditorDialog.qml
src/QmlControls/ParameterEditorDialog.qml
+2
-2
QGCView.qml
src/QmlControls/QGCView.qml
+2
-2
No files found.
src/QmlControls/ParameterEditorDialog.qml
View file @
3e7d9375
...
...
@@ -58,7 +58,7 @@ QGCViewDialog {
validationError
.
text
=
fact
.
validate
(
validateValue
,
false
/* convertOnly */
)
forceSave
.
visible
=
true
}
valueField
.
forceActiveFocus
()
//
valueField.forceActiveFocus()
}
Column
{
...
...
@@ -82,7 +82,7 @@ QGCViewDialog {
QGCTextField
{
id
:
valueField
text
:
validate
?
validateValue
:
fact
.
valueString
focus
:
true
//
focus: true
// At this point all Facts are numeric
inputMethodHints
:
Qt
.
ImhFormattedNumbersOnly
...
...
src/QmlControls/QGCView.qml
View file @
3e7d9375
...
...
@@ -146,7 +146,7 @@ FactPanel {
viewPanel
.
enabled
=
false
__dialogOverlay
.
visible
=
true
__dialogComponentLoader
.
item
.
forceActiveFocus
()
//
__dialogComponentLoader.item.forceActiveFocus()
__animateShowDialog
.
start
()
}
...
...
@@ -174,7 +174,7 @@ FactPanel {
}
function
hideDialog
()
{
__dialogComponentLoader
.
item
.
focus
=
false
//
__dialogComponentLoader.item.focus = false
viewPanel
.
enabled
=
true
__animateHideDialog
.
start
()
}
...
...
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