Index: b/src/editinteractor.cpp =================================================================== --- b/src/editinteractor.cpp +++ b/src/editinteractor.cpp @@ -95,12 +95,16 @@ { EditInteractor::Private *ei = (EditInteractor::Private *)opaque; - Error err = status_to_error(status); + Error err; + + const unsigned int oldState = ei->state; + if (oldState != EditInteractor::StartState) { + err = status_to_error(status); + } if (!err) { // advance to next state based on input: - const unsigned int oldState = ei->state; ei->state = ei->q->nextState(status, args, err); if (ei->debug) { std::fprintf(ei->debug, "EditInteractor: %u -> nextState( %s, %s ) -> %u\n",