- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/UIElements/CommandLineUI/Query/MoleculeCommandLineQuery.cpp ¶
r955b91 rf10b0c 28 28 #include "CodePatterns/Verbose.hpp" 29 29 30 CommandLineDialog::MoleculeCommandLineQuery::MoleculeCommandLineQuery( std::string title, std::string _description) :31 Dialog::MoleculeQuery( title, _description)30 CommandLineDialog::MoleculeCommandLineQuery::MoleculeCommandLineQuery(Parameter<const molecule *> ¶m, std::string title, std::string _description) : 31 Dialog::MoleculeQuery(param, title, _description) 32 32 {} 33 33 … … 38 38 if (CommandLineParser::getInstance().vm.count(getTitle())) { 39 39 IdxOfMol = CommandLineParser::getInstance().vm[getTitle()].as<int>(); 40 tmp = World::getInstance().getMolecule(MoleculeById(IdxOfMol));40 tmp.set(World::getInstance().getMolecule(MoleculeById(IdxOfMol))); 41 41 return true; 42 42 } else {
Note:
See TracChangeset
for help on using the changeset viewer.