- Timestamp:
- Jul 17, 2017, 12:28:51 PM (8 years ago)
- Branches:
- Action_Thermostats, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults
- Children:
- 3bd4a66
- Parents:
- 9346af
- git-author:
- Frederik Heber <frederik.heber@…> (07/06/17 22:18:13)
- git-committer:
- Frederik Heber <frederik.heber@…> (07/17/17 12:28:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/Query/AtomCommandLineQuery.cpp
r9346af rbf87c2 55 55 CommandLineDialog::AtomCommandLineQuery::~AtomCommandLineQuery() {} 56 56 57 boolCommandLineDialog::AtomCommandLineQuery::handle() {57 void CommandLineDialog::AtomCommandLineQuery::handle() { 58 58 int IdxOfAtom = -1; 59 59 if (CommandLineParser::getInstance().vm.count(getTitle())) { … … 62 62 } catch(boost::bad_any_cast &e) { 63 63 IdxOfAtom = -1; 64 return false;64 return; 65 65 } 66 66 temp = const_cast<const World &>(World::getInstance()).getAtom(AtomById(IdxOfAtom)); 67 returntrue;67 handleSuccess = true; 68 68 } 69 return false;70 69 } 71 70
Note:
See TracChangeset
for help on using the changeset viewer.