Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/TextUI/Query/AtomsTextQuery.cpp

    r8df74d rd754bb  
    2222#include <Descriptors/AtomDescriptor.hpp>
    2323#include <Descriptors/AtomIdDescriptor.hpp>
    24 #include "TextUI/TextDialog.hpp"
     24#include "TextUI/Query/TextQuery.hpp"
    2525
    2626#include "Helpers/Log.hpp"
     
    3939bool TextDialog::AtomsTextQuery::handle() {
    4040  int idxOfAtom=-1;
    41   Log() << Verbose(0) << getTitle();
     41  std::cout << getDescription() << ": ";
    4242  std::string line;
    43   getline(cin,line);
     43  getline(std::cin,line);
    4444  // dissect by " "
    4545  std::string::iterator olditer = line.begin();
     
    5050      temp = World::getInstance().getAtom(AtomById(idxOfAtom));
    5151      if(!temp && idxOfAtom!=-1){
    52         Log() << Verbose(0) << "Invalid Atom Index" << idxOfAtom << endl;
     52        std::cout << "Invalid Atom Index" << idxOfAtom << std::endl;
    5353        break;
    5454      }
     
    6262    temp = World::getInstance().getAtom(AtomById(idxOfAtom));
    6363    if(!temp && idxOfAtom!=-1) {
    64       Log() << Verbose(0) << "Invalid Atom Index" << idxOfAtom << endl;
     64      std::cout << "Invalid Atom Index" << idxOfAtom << std::endl;
    6565      tmp.push_back(temp);
    6666    }
Note: See TracChangeset for help on using the changeset viewer.