mirror of
https://github.com/shizand/statapp.git
synced 2025-03-31 06:33:46 +03:00
wip
This commit is contained in:
parent
00ba6bf839
commit
d4b015490d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user