Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/CommandLineUI/Query/DoubleCommandLineQuery.cpp

    r955b91 rf10b0c  
    2626
    2727
    28 CommandLineDialog::DoubleCommandLineQuery::DoubleCommandLineQuery(std::string title, std::string _description) :
    29     Dialog::DoubleQuery(title, _description)
     28CommandLineDialog::DoubleCommandLineQuery::DoubleCommandLineQuery(Parameter<double> &param, std::string title, std::string _description) :
     29    Dialog::DoubleQuery(param, title, _description)
    3030{}
    3131
     
    3434bool CommandLineDialog::DoubleCommandLineQuery::handle() {
    3535  if (CommandLineParser::getInstance().vm.count(getTitle())) {
    36     tmp = CommandLineParser::getInstance().vm[getTitle()].as<double>();
     36    tmp.set(CommandLineParser::getInstance().vm[getTitle()].as<double>());
    3737    return true;
    3838  } else {
Note: See TracChangeset for help on using the changeset viewer.