X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FOptionsPage.java;h=5a9e165124739bb8564fad5a74926b2433d8ebf2;hb=0a409e106cabb724302bc47f2783ef03e164e5b9;hp=71de2d3f521e0ab2f05bf5356968f9b0f5f8b42d;hpb=78d6fccb6660e4d4c5dbd896c7ab6d3084e2091d;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/OptionsPage.java b/src/main/java/net/pterodactylus/sone/web/OptionsPage.java index 71de2d3..5a9e165 100644 --- a/src/main/java/net/pterodactylus/sone/web/OptionsPage.java +++ b/src/main/java/net/pterodactylus/sone/web/OptionsPage.java @@ -33,7 +33,9 @@ public class OptionsPage extends SoneTemplatePage { * Creates a new options page. * * @param template + * The template to render * @param webInterface + * The Sone web interface */ public OptionsPage(Template template, WebInterface webInterface) { super("options.html", template, "Page.Options.Title", webInterface); @@ -56,6 +58,7 @@ public class OptionsPage extends SoneTemplatePage { } template.set("insertion-delay", options.getIntegerOption("InsertionDelay").get()); template.set("clear-on-next-restart", options.getBooleanOption("ClearOnNextRestart").get()); + template.set("really-clear-on-next-restart", options.getBooleanOption("ReallyClearOnNextRestart").get()); } //