mirror of
https://github.com/shizand/statapp.git
synced 2025-04-01 23:23:45 +03:00
wip
This commit is contained in:
parent
00ba6bf839
commit
d4b015490d
@ -35,10 +35,4 @@ class InputValuesModel(EditableTableModel):
|
|||||||
return self._data[:, 0]
|
return self._data[:, 0]
|
||||||
|
|
||||||
def removeCol(self, index: int):
|
def removeCol(self, index: int):
|
||||||
self._data = np.delete(self._data, index, axis=1)
|
self.updateAllData(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()))
|
|
||||||
)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user