Skip to content

Commit cec819c

Browse files
committed
Dummy bug
1 parent 3da61d1 commit cec819c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Desktop/mainwindow.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,8 +898,7 @@ void MainWindow::_open(const QString & mainFilePath, const QString & inputDataFi
898898
{
899899
FileEvent * syncEvent = new FileEvent(_fileMenu, FileEvent::FileSyncData);
900900
syncEvent->setPath(inputDataFile);
901-
// syncEvent->chain(openEvent);
902-
connect(openEvent, &FileEvent::finalized, this, [this, syncEvent]() { _waitingEvent = syncEvent; waitForAllAnalysesFinishedBeforeStartingEvent(); } );
901+
syncEvent->chain(openEvent);
903902

904903
if (!outputFile.isEmpty())
905904
{

Desktop/parsedarguments.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ ParsedArguments::ParsedArguments(int argc, char *argv[])
162162
}
163163
}
164164

165-
if(!mainFilePath.exists() && !reportingDir.exists())
165+
if(!mainFilePath.exists() && reportingDir.exists())
166166
{
167167
std::cerr << "If you want JASP to run in reportingmode you should also give it a jaspfile to run off." << std::endl;
168168
letsExplainSomeThings = true;

0 commit comments

Comments
 (0)