Fix key binding settings for multi remote version.
[qzeecontrol] / qml / QZeeControl / main.qml
index 783ee85..c675d53 100644 (file)
@@ -46,6 +46,8 @@ PageStackWindow {
                 name: "Zee_2"
                 usedAddresses: zeeTab1.currentAddress
             }
+
+            onCurrentTabChanged: keyBindingsSettings.currentRemote = currentTab.name
         }
     }
 
@@ -100,6 +102,6 @@ PageStackWindow {
 
     KeyBindingSettings{
         id: keyBindingsSettings
-        onAccepted: mainPage.loadKeyBindings()
+        onAccepted: tabGroup.currentTab.loadKeyBindings()
     }
 }