| 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 | |
| 155 | private: |
| 156 | MatrixPrivate* m_private_obj; |
nothing calls this directly
no test coverage detected