- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/Query/DoubleCommandLineQuery.cpp
r955b91 rf10b0c 26 26 27 27 28 CommandLineDialog::DoubleCommandLineQuery::DoubleCommandLineQuery( std::string title, std::string _description) :29 Dialog::DoubleQuery( title, _description)28 CommandLineDialog::DoubleCommandLineQuery::DoubleCommandLineQuery(Parameter<double> ¶m, std::string title, std::string _description) : 29 Dialog::DoubleQuery(param, title, _description) 30 30 {} 31 31 … … 34 34 bool CommandLineDialog::DoubleCommandLineQuery::handle() { 35 35 if (CommandLineParser::getInstance().vm.count(getTitle())) { 36 tmp = CommandLineParser::getInstance().vm[getTitle()].as<double>();36 tmp.set(CommandLineParser::getInstance().vm[getTitle()].as<double>()); 37 37 return true; 38 38 } else {
Note:
See TracChangeset
for help on using the changeset viewer.