This commit is contained in:
Maxim Slipenko 2024-02-02 14:42:10 +03:00
parent 00ba6bf839
commit d4b015490d

View File

@ -35,10 +35,4 @@ class InputValuesModel(EditableTableModel):
return self._data[:, 0]
def removeCol(self, index: int):
self._data = np.delete(self._data, index, axis=1)
self.layoutChanged.emit()
self.dataChanged.emit(
self.index(0, 0),
self.index(self.rowCount(QModelIndex()), self.columnCount(QModelIndex()))
)
self.updateAllData(np.delete(self._data, index, axis=1))