I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit a5c04480 authored by zzz's avatar zzz
Browse files

Graphs: Note restart required when changing persistence setting

parent 7a1e2865
No related branches found
No related tags found
No related merge requests found
...@@ -486,8 +486,11 @@ public class GraphHelper extends FormHandler { ...@@ -486,8 +486,11 @@ public class GraphHelper extends FormHandler {
changes.put(PROP_EVENTS, Boolean.toString(_showEvents)); changes.put(PROP_EVENTS, Boolean.toString(_showEvents));
changes.put(PROP_LEGEND, Boolean.toString(_graphHideLegend)); changes.put(PROP_LEGEND, Boolean.toString(_graphHideLegend));
changes.put(SummaryListener.PROP_PERSISTENT, Boolean.toString(_persistent)); changes.put(SummaryListener.PROP_PERSISTENT, Boolean.toString(_persistent));
boolean warn = _persistent != _context.getBooleanPropertyDefaultTrue(SummaryListener.PROP_PERSISTENT);
_context.router().saveConfig(changes, null); _context.router().saveConfig(changes, null);
addFormNotice(_t("Graph settings saved")); addFormNotice(_t("Graph settings saved"));
if (warn)
addFormError(_t("Restart required to take effect"));
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment