From 04f007539c864aa54ef1320639dd5d3ede975793 Mon Sep 17 00:00:00 2001 From: Michael Carpenter Date: Sat, 4 Jan 2014 00:02:08 -0500 Subject: [PATCH] Change to start interrogation after population of Wizard views, to prevent timeouts due to thread hanging --- core/src/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/mainwindow.cpp b/core/src/mainwindow.cpp index 039b3e6..9465e64 100644 --- a/core/src/mainwindow.cpp +++ b/core/src/mainwindow.cpp @@ -1246,7 +1246,7 @@ void MainWindow::loadWizards(QString dir) void MainWindow::emsCommsConnected() { - emsComms->startInterrogation(); + m_interrogationFailureCount = 0; ui.actionSave_Offline_Data->setEnabled(true); ui.actionLoad_Offline_Data->setEnabled(true); @@ -1299,6 +1299,7 @@ void MainWindow::emsCommsConnected() progressView->show(); interrogateProgressMdiWindow->show(); progressView->addOutput("Connected to EMS"); + emsComms->startInterrogation(); } void MainWindow::interrogationProgress(int current, int total) {