- Timestamp:
- Apr 4, 2018, 4:59:24 PM (8 years ago)
- Branches:
- Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, Candidate_v1.7.0, ChemicalSpaceEvaluator, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, StoppableMakroAction, TremoloParser_IncreasedPrecision, stable
- Children:
- 0aae02
- Parents:
- 775f3f
- git-author:
- Frederik Heber <frederik.heber@…> (07/06/17 22:18:13)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/04/18 16:59:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/Query/MoleculeCommandLineQuery.cpp
r775f3f rf4b6bc9 50 50 CommandLineDialog::MoleculeCommandLineQuery::~MoleculeCommandLineQuery() {} 51 51 52 boolCommandLineDialog::MoleculeCommandLineQuery::handle() {52 void CommandLineDialog::MoleculeCommandLineQuery::handle() { 53 53 int IdxOfMol = -1; 54 54 if (CommandLineParser::getInstance().vm.count(getTitle())) { … … 57 57 } catch(boost::bad_any_cast &e) { 58 58 IdxOfMol = -1; 59 return false;59 return; 60 60 } 61 61 temp = const_cast<const World &>(World::getInstance()).getMolecule(MoleculeById(IdxOfMol)); 62 return true;62 handleSuccess = true; return; 63 63 } 64 return false;65 64 } 66 65
Note:
See TracChangeset
for help on using the changeset viewer.
