mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-06-02 10:09:32 +00:00
Server: modify set id request to message
This commit is contained in:
@@ -206,9 +206,7 @@ class CopterDataModel(QtCore.QAbstractTableModel):
|
||||
self.data_contents[row][col] = "Awaiting for response"
|
||||
self.data_contents[row].states.copter_id = None
|
||||
|
||||
self.data_contents[row].client.get_response("id", self.on_id_changed,
|
||||
request_args={"new_id": value},
|
||||
callback_args=(self.data_contents[row],))
|
||||
self.data_contents[row].client.send_message("id", {"new_id": value})
|
||||
else:
|
||||
self.data_contents[row][col] = value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user