forked from qt-creator/qt-creator
QmlDesigner: Fix ComboBox not closing
Change-Id: I562005d3102efafc52cc01b161aeaeba56581095 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
ffd23a68a2
commit
91029f9752
@@ -147,9 +147,9 @@ T.ComboBox {
|
|||||||
id: itemDelegate
|
id: itemDelegate
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
comboBoxPopup.close()
|
||||||
control.currentIndex = index
|
control.currentIndex = index
|
||||||
control.activated(index)
|
control.activated(index)
|
||||||
comboBoxPopup.close()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
width: control.width
|
width: control.width
|
||||||
|
Reference in New Issue
Block a user