mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-06-05 19:49:33 +00:00
Merge branch 'qt-gui-update' of https://github.com/CopterExpress/clever-show into qt-gui-update
This commit is contained in:
@@ -486,9 +486,7 @@ class CopterDataModel(QtCore.QAbstractTableModel):
|
||||
self.data_contents[row][col] = formatted_value
|
||||
|
||||
if col == 0:
|
||||
self.data_contents[row].client.send_message("id", {"new_id": formatted_value})
|
||||
self.data_contents[row].client.remove() # TODO change
|
||||
self._remove_row(row)
|
||||
self.data_contents[row].client.send_message("id", kwargs={"new_id": formatted_value})
|
||||
|
||||
elif role == ModelDataRole: # For inner setting\editing of raw data
|
||||
self.data_contents[row][col] = value
|
||||
|
||||
Reference in New Issue
Block a user