Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/ActionQueue.cpp

    rcfb9c5 r06b5df  
    9898void ActionQueue::queueAction(const Action * const _action, enum Action::QueryOptions state)
    9999{
     100  OBSERVE;
     101  NOTIFY(ActionQueued);
    100102  Action *newaction = _action->clone(state);
    101103  newaction->prepare(state);
     
    121123    std::cerr << "ActionQueue cleared." << std::endl;
    122124  }
    123   if (lastActionOk) {
    124     OBSERVE;
    125     NOTIFY(ActionQueued);
    126     _lastchangedaction = newaction;
    127   }
    128125#else
    129126  {
     
    133130  mtx_queue.unlock();
    134131#endif
     132  _lastchangedaction = newaction;
    135133}
    136134
     
    195193        CurrentAction = (size_t)-1;
    196194      }
    197       if (lastActionOk) {
    198         OBSERVE;
    199         NOTIFY(ActionQueued);
    200         _lastchangedaction = actionqueue[CurrentAction];
    201       }
    202195      // access actionqueue, hence using mutex
    203196      mtx_queue.lock();
Note: See TracChangeset for help on using the changeset viewer.