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

Method undo

src/backend/core/column/columncommands.cpp:172–178  ·  view source on GitHub ↗

* \brief Undo the command */

Source from the content-addressed store, hash-verified

170 * \brief Undo the command
171 */
172void ColumnSetModeCmd::undo() {
173 // reset to old values
174 m_col->replaceModeData(m_old_mode, m_old_data, m_old_in_filter, m_old_out_filter);
175 // setLabelsMode will be done in replaceModeData()
176
177 m_undone = true;
178}
179
180/** ***************************************************************************
181 * \class ColumnFullCopyCmd

Callers

nothing calls this directly

Calls 14

FormulaDataClass · 0.85
replaceModeDataMethod · 0.80
replaceDataMethod · 0.80
ownerMethod · 0.80
replaceFormulasMethod · 0.80
dataMethod · 0.45
copyMethod · 0.45
resizeToMethod · 0.45
removeRowsMethod · 0.45
setChangedMethod · 0.45
insertRowsMethod · 0.45
setPlotDesignationMethod · 0.45

Tested by

no test coverage detected