From bdcc753dff3e6391242d0dbdee109ad17a3f7fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sat, 25 Jan 2025 21:18:42 +0100 Subject: [PATCH] Fix misleading message about updates Specifically, when TPT is actually configured at build time to ignore updates. --- src/gui/options/OptionsView.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gui/options/OptionsView.cpp b/src/gui/options/OptionsView.cpp index e9de1a916..47735f5eb 100644 --- a/src/gui/options/OptionsView.cpp +++ b/src/gui/options/OptionsView.cpp @@ -355,7 +355,12 @@ OptionsView::OptionsView() : ui::Window(ui::Point(-1, -1), ui::Point(320, 340)) } currentY += 26; } - autoStartupRequest = addCheckbox(0, "Fetch the message of the day and notifications at startup", "Also checks for updates", [this] { + String autoStartupRequestNote = "Done once at startup"; + if (!IGNORE_UPDATES) + { + autoStartupRequestNote += ", also checks for updates"; + } + autoStartupRequest = addCheckbox(0, "Fetch the message of the day and notifications", autoStartupRequestNote, [this] { auto checked = autoStartupRequest->GetChecked(); if (checked) {