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
b2371899
Unverified
Commit
b2371899
authored
Jun 10, 2020
by
Don Gagne
Committed by
GitHub
Jun 10, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8824 from DonLakeFlyer/InputMethod
Fix location of Qt.inputMethod.hide()
parents
2fb34f4c
46b4e578
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
QGCViewDialog.qml
src/QmlControls/QGCViewDialog.qml
+0
-2
QGCViewDialogContainer.qml
src/QmlControls/QGCViewDialogContainer.qml
+1
-0
No files found.
src/QmlControls/QGCViewDialog.qml
View file @
b2371899
...
...
@@ -32,14 +32,12 @@ Item {
function
accept
()
{
if
(
acceptAllowed
)
{
Qt
.
inputMethod
.
hide
()
hideDialog
()
}
}
function
reject
()
{
if
(
rejectAllowed
)
{
Qt
.
inputMethod
.
hide
()
hideDialog
()
}
}
...
...
src/QmlControls/QGCViewDialogContainer.qml
View file @
b2371899
...
...
@@ -86,6 +86,7 @@ Item {
Connections
{
target
:
_dialogComponentLoader
.
item
onHideDialog
:
{
Qt
.
inputMethod
.
hide
()
mainWindowDialog
.
close
()
}
}
...
...
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