- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/WorldAction/SetDefaultNameAction.cpp
rbe21fa rf10b0c 40 40 WorldSetDefaultNameState *UndoState = new WorldSetDefaultNameState(Worldsdefaultname, params); 41 41 42 World::getInstance().setDefaultName(params.newname );42 World::getInstance().setDefaultName(params.newname.get()); 43 43 LOG(0, "Default name of new molecules set to " << World::getInstance().getDefaultName() << "."); 44 44 return Action::state_ptr(UndoState); … … 57 57 WorldSetDefaultNameState *state = assert_cast<WorldSetDefaultNameState*>(_state.get()); 58 58 59 World::getInstance().setDefaultName(state->params.newname );59 World::getInstance().setDefaultName(state->params.newname.get()); 60 60 LOG(0, "Default name of new molecules set to " << World::getInstance().getDefaultName() << "."); 61 61
Note:
See TracChangeset
for help on using the changeset viewer.