From 493d217ebe08c43227aaac3eadf8355a2dcdef68 Mon Sep 17 00:00:00 2001 From: Nicolas Mailloux Date: Tue, 1 Mar 2022 23:41:38 -0500 Subject: [PATCH] System report: Small logical fix --- settings.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/settings.cpp b/settings.cpp index 0dcf528..9eeb965 100644 --- a/settings.cpp +++ b/settings.cpp @@ -988,13 +988,12 @@ void settings::on_generateSystemReportBtn_clicked() if(QFile::exists("/inkbox/systemReportDone")) { if(checkconfig("/inkbox/systemReportDone") == true) { emit showToast("System report generated successfully"); - break; } else { emit showToast("Error in generating system report"); - break; } QFile::remove("/inkbox/systemReportDone"); + break; } } }