Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/WorldAction/SetDefaultNameAction.cpp

    rbe21fa rf10b0c  
    4040  WorldSetDefaultNameState *UndoState = new WorldSetDefaultNameState(Worldsdefaultname, params);
    4141
    42   World::getInstance().setDefaultName(params.newname);
     42  World::getInstance().setDefaultName(params.newname.get());
    4343  LOG(0, "Default name of new molecules set to " << World::getInstance().getDefaultName() << ".");
    4444  return Action::state_ptr(UndoState);
     
    5757  WorldSetDefaultNameState *state = assert_cast<WorldSetDefaultNameState*>(_state.get());
    5858
    59   World::getInstance().setDefaultName(state->params.newname);
     59  World::getInstance().setDefaultName(state->params.newname.get());
    6060  LOG(0, "Default name of new molecules set to " << World::getInstance().getDefaultName() << ".");
    6161
Note: See TracChangeset for help on using the changeset viewer.