mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-30 16:59:32 +00:00
Batt voltage on start
This commit is contained in:
@@ -118,7 +118,9 @@ model.setRowCount(0)
|
||||
|
||||
def client_connected(self: Client):
|
||||
batt = self.get_response("batt_voltage")
|
||||
model.appendRow((QStandardItem(self.copter_id), QStandardItem(batt))) # TODO: get responses for another columns
|
||||
model.appendRow((QStandardItem(self.copter_id), )) # TODO: get responses for another columns
|
||||
model.setData(model.index(0, 2), batt)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user