projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Show the first of the two “clear on next restart” options on the Options page.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
OptionsPage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/OptionsPage.java
b/src/main/java/net/pterodactylus/sone/web/OptionsPage.java
index
1a5fa6a
..
71de2d3
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/OptionsPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/OptionsPage.java
@@
-55,6
+55,7
@@
public class OptionsPage extends SoneTemplatePage {
options.getIntegerOption("InsertionDelay").set(insertionDelay);
}
template.set("insertion-delay", options.getIntegerOption("InsertionDelay").get());
+ template.set("clear-on-next-restart", options.getBooleanOption("ClearOnNextRestart").get());
}
//