- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/TextUI/Query/IntTextQuery.cpp
r955b91 rf10b0c 28 28 29 29 30 TextDialog::IntTextQuery::IntTextQuery( std::string title, std::string _description) :31 Dialog::IntQuery( title,_description)30 TextDialog::IntTextQuery::IntTextQuery(Parameter<int> ¶m, std::string title, std::string _description) : 31 Dialog::IntQuery(param, title,_description) 32 32 {} 33 33 … … 39 39 badInput = false; 40 40 std::cout << getDescription() << ": "; 41 std::cin >> tmp; 41 int temp_int; 42 std::cin >> temp_int; 43 tmp.set(temp_int); 42 44 if(std::cin.fail()){ 43 45 badInput=true;
Note:
See TracChangeset
for help on using the changeset viewer.