Changes in src/UIElements/Dialog.cpp [112b09:6d574a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Dialog.cpp
r112b09 r6d574a 8 8 #include "Helpers/MemDebug.hpp" 9 9 10 #include <cassert>11 12 10 #include "Dialog.hpp" 13 11 … … 41 39 retval &= (*iter)->handle(); 42 40 // if any query fails (is canceled), we can end the handling process 43 if(!retval) 41 if(!retval) { 42 DoeLog(1) && (eLog() << Verbose(1) << "The following query failed: " << (**iter).getTitle() << "." << endl); 44 43 break; 44 } 45 45 } 46 46 if (retval){ … … 201 201 202 202 // Element Queries 203 Dialog::ElementQuery::ElementQuery(std::string title, const element **_target, std::string _description) :203 Dialog::ElementQuery::ElementQuery(std::string title, std::vector<element *> *_target, std::string _description) : 204 204 Query(title, _description), 205 tmp(0),206 205 target(_target) 207 206 {} … … 210 209 211 210 void Dialog::ElementQuery::setResult(){ 212 *target= tmp;213 } 211 *target=elements; 212 }
Note:
See TracChangeset
for help on using the changeset viewer.