forked from M-Labs/thermostat
Shorten channel to ch
This commit is contained in:
parent
4df651902a
commit
a213078c9a
@ -644,14 +644,14 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||
self.params[i].sigTreeStateChanged.connect(self.send_command)
|
||||
|
||||
@asyncSlot()
|
||||
async def save(_, channel=i):
|
||||
await self.client.save_config(channel)
|
||||
async def save(_, ch=i):
|
||||
await self.client.save_config(ch)
|
||||
|
||||
self.params[i].child('Save to flash').sigActivated.connect(save)
|
||||
|
||||
@asyncSlot()
|
||||
async def load(_, channel=i):
|
||||
await self.client.load_config(channel)
|
||||
async def load(_, ch=i):
|
||||
await self.client.load_config(ch)
|
||||
|
||||
self.params[i].child('Load from flash').sigActivated.connect(load)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user