summaryrefslogtreecommitdiff
path: root/wizard/hdmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/hdmap.cpp')
-rw-r--r--wizard/hdmap.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/wizard/hdmap.cpp b/wizard/hdmap.cpp
index 491e5b6..10c3324 100644
--- a/wizard/hdmap.cpp
+++ b/wizard/hdmap.cpp
@@ -2,6 +2,7 @@
#include "hdmap.h"
#include "../listdelegate.h"
#include "../listitem.h"
+#include "../mainwizard.h"
wpHdMap::wpHdMap(QWidget *parent) : QWizardPage(parent)
{
@@ -44,11 +45,15 @@ void wpHdMap::receivedDataLine(QString data, QString line)
void wpHdMap::receivedCommand(QString command, QString args)
{
+ if(this->wizard()->currentId() != MainWizard::Page_HdMap) return;
+
if(command == "error") checkPassed = false;
}
void wpHdMap::backendFinishedCommand(QString command)
{
+ if(this->wizard()->currentId() != MainWizard::Page_HdMap) return;
+
if(command == "fill_hdmap")
{