- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/TextUI/Query/BooleanTextQuery.cpp
r955b91 rf10b0c 28 28 29 29 30 TextDialog::BooleanTextQuery::BooleanTextQuery( std::string title, std::string _description) :31 Dialog::BooleanQuery( title,_description)30 TextDialog::BooleanTextQuery::BooleanTextQuery(Parameter<bool> ¶m, std::string title, std::string _description) : 31 Dialog::BooleanQuery(param, title,_description) 32 32 {} 33 33 … … 42 42 std::cin >> input; 43 43 if ((input == 'y' ) || (input == 'Y')) { 44 tmp = true;44 tmp.set(true); 45 45 } else if ((input == 'n' ) || (input == 'N')) { 46 tmp = false;46 tmp.set(false); 47 47 } else { 48 48 badInput=true;
Note:
See TracChangeset
for help on using the changeset viewer.