multi-profile/subscription misc fixes

This commit is contained in:
Goffi 2010-05-13 16:27:48 +09:30
commit 6cfa6a1413

View file

@ -57,7 +57,7 @@ class Param(wx.Frame):
panel=wx.Panel(self.notebook)
panel.sizer = wx.BoxSizer(wx.VERTICAL)
cat_dom = minidom.parseString(self.host.bridge.getParamsForCategory(category).encode('utf-8'))
cat_dom = minidom.parseString(self.host.bridge.getParamsForCategory(category, profile_key = self.host.profile).encode('utf-8'))
for param in cat_dom.documentElement.getElementsByTagName("param"):
name = param.getAttribute("name")
@ -115,7 +115,7 @@ class Param(wx.Frame):
def __save_parameters(self):
for param in self.modified:
self.host.bridge.setParam(param[0], self.modified[param], param[1])
self.host.bridge.setParam(param[0], self.modified[param], param[1], profile_key = self.host.profile)
self.modified.clear()
def onClose(self, event):