MCPcopy Create free account
hub / github.com/KDE/labplot / undo

Method undo

src/backend/matrix/matrixcommands.h:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 m_private_obj->clearColumn(i);
146 }
147 void undo() override {
148 int last_row = m_private_obj->rowCount() - 1;
149 if (last_row < 0)
150 return;
151 for (int i = 0; i < m_private_obj->columnCount(); i++)
152 m_private_obj->setColumnCells(i, 0, last_row, m_backups.at(i));
153 }
154
155private:
156 MatrixPrivate* m_private_obj;

Callers

nothing calls this directly

Calls 3

rowCountMethod · 0.45
columnCountMethod · 0.45
setColumnCellsMethod · 0.45

Tested by

no test coverage detected