- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/WorldAction/SetDefaultNameAction.cpp
rf10b0c rbe21fa 40 40 WorldSetDefaultNameState *UndoState = new WorldSetDefaultNameState(Worldsdefaultname, params); 41 41 42 World::getInstance().setDefaultName(params.newname .get());42 World::getInstance().setDefaultName(params.newname); 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 .get());59 World::getInstance().setDefaultName(state->params.newname); 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.