var ModAPI = require('modapi')
var _ = require('lodash')
var qml = ModAPI.QMLFile("BasicControls/ComboBox.qml")

var node, objects, obj

node = qml.root.node
node.object("Keys.onLeftPressed", null)
node.object("Keys.onRightPressed", null)
node.object("editable", "true")

node = qml.getObjectById("mouseArea").node
node.object("anchors.fill", null)
node.object("anchors.right", "parent.right")
node.object("anchors.top", "parent.top")
node.object("anchors.bottom", "parent.bottom")
node.object("width", "20")

ModAPI.add("BasicControls/EditableComboBox.qml", qml.code)

@@ -74,16 +74,18 @@
 .QMLFile
+V2
 (%22BasicC
@@ -136,23 +136,16 @@
 bj%0A%0A
-node = 
 qml.root
 .nod
@@ -140,33 +140,26 @@
 qml.root
-.node%0Anode.object
+%0A  .remove
 (%22Keys.o
@@ -171,35 +171,27 @@
 Pressed%22
-, null)%0Anode.object
+)%0A  .remove
 (%22Keys.o
@@ -204,34 +204,23 @@
 Pressed%22
-, null)%0Anode.objec
+)%0A  .se
 t(%22edita
@@ -238,18 +238,16 @@
 %22)%0A%0A
-node = qml
+qml.root
 .get
@@ -273,58 +273,40 @@
 ea%22)
-.node%0Anode.object(%22anchors.fill%22, null)%0Anode.objec
+%0A  .remove(%22anchors.fill%22)%0A  .se
 t(%22a
@@ -335,27 +335,28 @@
 .right%22)
-%0Anode.objec
+.end()%0A  .se
 t(%22ancho
@@ -377,27 +377,28 @@
 nt.top%22)
-%0Anode.objec
+.end()%0A  .se
 t(%22ancho
@@ -429,19 +429,20 @@
 om%22)
-%0Anode.objec
+.end()%0A  .se
 t(%22w
@@ -453,16 +453,22 @@
 %22, %2220%22)
+.end()
 %0A%0AModAPI
@@ -518,10 +518,15 @@
 qml.
-c
+GenC
 ode
+()
 )%0A

Update EditableComboBox.qml.js