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

Method redo

src/frontend/MainWin.cpp:2296–2310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2294}
2295
2296void MainWin::redo() {
2297 WAIT_CURSOR;
2298 m_project->undoStack()->redo();
2299 m_undoAction->setEnabled(true);
2300
2301 const int index = m_project->undoStack()->index();
2302 if (index == m_project->undoStack()->count())
2303 m_redoAction->setEnabled(false);
2304
2305 const bool changed = (index != undoStackIndexLastSave);
2306 m_saveAction->setEnabled(changed);
2307 m_project->setChanged(changed);
2308 updateTitleBar();
2309 RESET_CURSOR;
2310}
2311
2312/*!
2313 Shows/hides docks depending on the current visibility policy.

Callers 15

curveRangeChangeMethod · 0.45
statisticsMaskValuesMethod · 0.45
testInsertRowMethod · 0.45
testRemoveRowMethod · 0.45
setAxisColorMethod · 0.45
setTitleColorMethod · 0.45
setMajorTickColorMethod · 0.45
setMinorTickColorMethod · 0.45
setLineColorMethod · 0.45
setTickLabelColorMethod · 0.45
autoScaleLog10Method · 0.45

Calls 5

undoStackMethod · 0.45
setEnabledMethod · 0.45
indexMethod · 0.45
countMethod · 0.45
setChangedMethod · 0.45

Tested by 15

curveRangeChangeMethod · 0.36
statisticsMaskValuesMethod · 0.36
testInsertRowMethod · 0.36
testRemoveRowMethod · 0.36
setAxisColorMethod · 0.36
setTitleColorMethod · 0.36
setMajorTickColorMethod · 0.36
setMinorTickColorMethod · 0.36
setLineColorMethod · 0.36
setTickLabelColorMethod · 0.36
autoScaleLog10Method · 0.36