mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-22 15:41:57 +02:00
Fix misleading message about updates
Specifically, when TPT is actually configured at build time to ignore updates.
This commit is contained in:
parent
53230ee102
commit
bdcc753dff
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user