qmlFrontend/qml/qmlFrontend/GameConfig.qml
branchqmlfrontend
changeset 11437 6e641b5453f9
parent 11434 23912c93935a
child 11440 330c14f4ba69
--- 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});
+        }
     }
     }