From 7083f3b4f8546c5e9b193683ca56fc886aee7b68 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 6 Oct 2023 10:44:55 +0200 Subject: [PATCH] Minor: add debug message. --- worker.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worker.cpp b/worker.cpp index a12073a..7e900f5 100644 --- a/worker.cpp +++ b/worker.cpp @@ -855,6 +855,8 @@ bool Worker::updateFiles(quint8 percent) { Update *update = m_mainWindow->getUpdate(); if (update) { return update->doUpdate(m_displayIndex, filesToDownload); + } else { + Utils::printCriticalErrorMsg("UPDATE NOT SET"); } } else { Utils::printCriticalErrorMsg("NO FILES_TO_DOWNLOAD_TO_PSA_HW");