From 1560f4504a62ebef0bb6fa3fb1f08b35789ea7dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 24 Nov 2010 13:06:45 +0100 Subject: [PATCH] Always persist the changed configuration. --- src/main/java/net/pterodactylus/sone/web/OptionsPage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/web/OptionsPage.java b/src/main/java/net/pterodactylus/sone/web/OptionsPage.java index 29ac52b..77f1a07 100644 --- a/src/main/java/net/pterodactylus/sone/web/OptionsPage.java +++ b/src/main/java/net/pterodactylus/sone/web/OptionsPage.java @@ -61,6 +61,7 @@ public class OptionsPage extends SoneTemplatePage { options.getBooleanOption("ClearOnNextRestart").set(clearOnNextRestart); boolean reallyClearOnNextRestart = Boolean.parseBoolean(request.getHttpRequest().getPartAsStringFailsafe("really-clear-on-next-restart", 5)); options.getBooleanOption("ReallyClearOnNextRestart").set(reallyClearOnNextRestart); + webInterface.getCore().saveConfiguration(); throw new RedirectException(getPath()); } template.set("insertion-delay", options.getIntegerOption("InsertionDelay").get()); -- 2.7.4