Option for automatically remove disconnected copters from table

This commit is contained in:
Artem30801
2019-10-12 13:20:36 +03:00
parent 09992bd751
commit 3860ec85ae
4 changed files with 13 additions and 14 deletions

View File

@@ -91,7 +91,6 @@ class CopterDataModel(QtCore.QAbstractTableModel):
self.beginRemoveRows(QtCore.QModelIndex(), position, position + rows - 1)
self.data_contents = self.data_contents[:position] + self.data_contents[position + rows:]
self.endRemoveRows()
print("removed")
return True