Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/Action.cpp

    r601ef8 r163110  
    146146  endTimer();
    147147
    148   if (shouldUndo() && state != Action::failure) {
    149     if (canUndo()) {
     148  if(shouldUndo() && state != failure){
     149    if(canUndo()){
    150150      ActionQueue::getInstance().addElement(this,state);
    151151    }
    152 //    else{
    153 //      ActionQueue::getInstance().clear();
    154 //    }
     152    else{
     153      ActionQueue::getInstance().clear();
     154    }
    155155  }
    156156
Note: See TracChangeset for help on using the changeset viewer.