From a8f5275d433c4180ff621604bace28730f934e3e Mon Sep 17 00:00:00 2001 From: Oliver Toth Date: Sat, 4 Dec 2021 17:16:21 +0100 Subject: [PATCH] Exit MC tutorial when Mini is connected --- src/TutorialWidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TutorialWidget.cpp b/src/TutorialWidget.cpp index d580eb66..5a31fa58 100644 --- a/src/TutorialWidget.cpp +++ b/src/TutorialWidget.cpp @@ -156,8 +156,8 @@ void TutorialWidget::onDeviceConnected() } else { - m_nextButton->setEnabled(false); - QMessageBox::warning(this, tr("Tutorial warning"), tr("Tutorial is only available for BLE device, please attach one or Exit tutorial.")); + qDebug() << "Tutorial is not available for Mini."; + onExitClicked(); } } }