Commit 5b6e0164 authored by Timothée Giet's avatar Timothée Giet

core, fix focus issues when closing a GCComboBox

force focus on activity instead of background when closing GCComboBox

Sometimes we have controls inside activity, sometimes inside background,
but as background is inside activity, it handles all cases this way.
parent a13febaf
......@@ -77,7 +77,7 @@ Item {
* Text besides the combobox, used to describe what the combobox is for.
property string label
* type:bool
* Internal value.
......@@ -158,7 +158,7 @@ Item {
visible: false
width: if(parent) parent.width
height: if(parent) parent.height
parent: background
z: 100
focus: visible
......@@ -233,15 +233,15 @@ Item {
function hidePopUpAndRestoreFocus() {
popup.visible = false;
// Restore focus on previous activity for keyboard input
Rectangle {
id: listBackground
anchors.fill: parent
radius: 10
color: "grey"
Rectangle {
id : headerDescription
z: 10
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment