Ignore:
Timestamp:
Aug 13, 2025, 8:24:42 AM (3 months ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
780bfa
Parents:
1c355bf
git-author:
Frederik Heber <frederik.heber@…> (08/13/25 08:17:04)
git-committer:
Frederik Heber <frederik.heber@…> (08/13/25 08:24:42)
Message:

Splits off Undo mark actions.

  • Undo action has again no parameters (which is preferable to use in the GUI).
  • undo-mark is now alled set-undo-mark (with parameter telling whether to set or unset the mark).
  • undo-till-mark is now a separate action.
  • adapted userguide accordingly.
  • TESTS: adapted regression tests.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/Actions/CommandAction/UndoAction.cpp

    r1c355bf rbcc29ca  
    4343using namespace MoleCuilder;
    4444
    45 #include "Actions/UndoAction.hpp"
     45#include "Actions/CommandAction/UndoAction.hpp"
    4646
    4747// and construct the stuff
     
    5252ActionState::ptr UndoAction::performCall(){
    5353  // std::cout << "Undo" << std::endl;
    54   if (params.undoTillMark.get())
    55     ActionQueue::getInstance().undoTillMark();
    56   else
    57     ActionQueue::getInstance().undoLast();
     54  ActionQueue::getInstance().undoLast();
    5855  return Action::success;
    5956}
Note: See TracChangeset for help on using the changeset viewer.