Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Dialog.cpp

    r112b09 r6d574a  
    88#include "Helpers/MemDebug.hpp"
    99
    10 #include <cassert>
    11 
    1210#include "Dialog.hpp"
    1311
     
    4139    retval &= (*iter)->handle();
    4240    // 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);
    4443      break;
     44    }
    4545  }
    4646  if (retval){
     
    201201
    202202// Element Queries
    203 Dialog::ElementQuery::ElementQuery(std::string title, const element **_target, std::string _description) :
     203Dialog::ElementQuery::ElementQuery(std::string title, std::vector<element *> *_target, std::string _description) :
    204204  Query(title, _description),
    205   tmp(0),
    206205  target(_target)
    207206  {}
     
    210209
    211210void Dialog::ElementQuery::setResult(){
    212   *target=tmp;
    213 }
     211  *target=elements;
     212}
Note: See TracChangeset for help on using the changeset viewer.