- 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/ElementsCommandLineQuery.cpp
r775f3f rf4b6bc9 68 68 } 69 69 70 boolCommandLineDialog::ElementsCommandLineQuery::handle() {70 void CommandLineDialog::ElementsCommandLineQuery::handle() { 71 71 // TODO: vector of ints and removing first is not correctly implemented yet. How to remove from a vector? 72 72 if (CommandLineParser::getInstance().vm.count(getTitle())) { … … 80 80 temp = getElementsFromInput<std::string>(AllArguments); 81 81 } catch(boost::bad_lexical_cast &e) { 82 return false;82 return; 83 83 } 84 84 } 85 85 } catch(boost::bad_any_cast &e) { 86 return false;86 return; 87 87 } 88 88 if (temp.empty()) 89 return false;89 return; 90 90 else 91 return true;91 handleSuccess = true; return; 92 92 } 93 return false;94 93 } 95 94
Note:
See TracChangeset
for help on using the changeset viewer.
