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