--- a/qmlFrontend/qml/qmlFrontend/GameConfig.qml Tue Dec 01 19:49:59 2015 +0300
+++ b/qmlFrontend/qml/qmlFrontend/GameConfig.qml Tue Dec 01 23:37:10 2015 +0300
@@ -57,11 +57,11 @@
HWEngine.setTheme(themeName.text)
}
}
+ }
- Connections {
- target: HWEngine
- onThemeChanged: cbTheme.showItem({"iconSource" : "image://theme/" + theme, "text" : theme});
- }
+ Connections {
+ target: HWEngine
+ onThemeChanged: cbTheme.showItem({"iconSource" : "image://theme/" + theme, "text" : theme});
}
}
@@ -92,10 +92,10 @@
HWEngine.setScript(scriptName.text)
}
}
- Connections {
- target: HWEngine
- onScriptChanged: cbScript.showItem({"iconSource" : "", "text" : script});
- }
+ }
+ Connections {
+ target: HWEngine
+ onScriptChanged: cbScript.showItem({"iconSource" : "", "text" : script});
}
}
@@ -158,6 +158,10 @@
}
}
}
+ Connections {
+ target: HWEngine
+ onAmmoChanged: cbAmmo.showItem({"iconSource" : "", "text" : ammo});
+ }
}
}