- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/TextUI/Query/AtomTextQuery.cpp
r955b91 rf10b0c 30 30 #include "World.hpp" 31 31 32 TextDialog::AtomTextQuery::AtomTextQuery( std::string title, std::string _description) :33 Dialog::AtomQuery( title,_description)32 TextDialog::AtomTextQuery::AtomTextQuery(Parameter<const atom *> ¶m, std::string title, std::string _description) : 33 Dialog::AtomQuery(param, title,_description) 34 34 {} 35 35 … … 51 51 } 52 52 53 tmp= World::getInstance().getAtom(AtomById(idxOfAtom));54 if(!t mp&& idxOfAtom!=-1){53 const atom * temp_atom = World::getInstance().getAtom(AtomById(idxOfAtom)); 54 if(!temp_atom && idxOfAtom!=-1){ 55 55 std::cout << "Invalid Atom Index" << idxOfAtom << std::endl; 56 56 badInput = true; 57 57 } 58 tmp.set(temp_atom); 58 59 59 60 } while(badInput);
Note:
See TracChangeset
for help on using the changeset viewer.