history improvements

This commit is contained in:
Sergey Solovyev committed 2013-06-26 01:45:33 +04:00
1 parent d6b4863fa2
commit d8d79e85f1
12 files changed
+96 -29

No files matched your search

@@ -149,6 +149,7 @@ public final class CalculatorPreferences {
public static class History {
public static final Preference<Boolean> showIntermediateCalculations = BooleanPreference.of("history_show_intermediate_calculations", false);
public static final Preference<Boolean> showDatetime = BooleanPreference.of("history_show_datetime", true);
}
@@ -201,6 +202,7 @@ public final class CalculatorPreferences {
applyDefaultPreference(preferences, Graph.plotImag);
applyDefaultPreference(preferences, History.showIntermediateCalculations);
applyDefaultPreference(preferences, History.showDatetime);
applyDefaultPreference(preferences, Calculations.calculateOnFly);
applyDefaultPreference(preferences, Calculations.preferredAngleUnits);
applyDefaultPreference(preferences, Calculations.preferredNumeralBase);