Skip to content

Commit

Permalink
Small fix because form crashes on addErrormessage after reseting form
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisGoosen committed Jun 20, 2019
1 parent 21ec4db commit f14fbe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JASP-Desktop/widgets/listmodelfiltereddataentry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ size_t ListModelFilteredDataEntry::getDataSetRowCount()

void ListModelFilteredDataEntry::rScriptDoneHandler(const QString & result)
{
std::cout << "ListModelFilteredDataEntry::rScriptDoneHandler: " << result.toStdString() << std::endl;
//std::cout << "ListModelFilteredDataEntry::rScriptDoneHandler: " << result.toStdString() << std::endl;

QStringList values = result.split(' ');

Expand Down Expand Up @@ -180,7 +180,7 @@ void ListModelFilteredDataEntry::initValues(OptionsTable * bindHere)

if(options.size() == 0)
{
addError("Not a single row in OptionsTable for ListModelFilteredDataEntry!");
//addError("Not a single row in OptionsTable for ListModelFilteredDataEntry!");
fillTable();
emit modelChanged();
return;
Expand Down

0 comments on commit f14fbe5

Please sign in to comment.