From e7aaf175c4ef9deec52dc0577b57b9ea7d7d80f8 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 21 May 2016 19:35:29 -0500 Subject: [PATCH] CmdChart: Corrected report setting names --- src/commands/CmdChart.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/CmdChart.cpp b/src/commands/CmdChart.cpp index 972f0714..eaad5cca 100644 --- a/src/commands/CmdChart.cpp +++ b/src/commands/CmdChart.cpp @@ -299,7 +299,7 @@ static std::string renderTotal ( const Rules& rules, time_t work) { - auto showTotal = rules.getBoolean ("reports." + type + ".total"); + auto showTotal = rules.getBoolean ("reports." + type + ".totals"); std::stringstream out; if (showTotal && work) @@ -323,7 +323,7 @@ static std::string renderSubTotal ( time_t total_work) { std::stringstream out; - if (rules.getBoolean ("reports." + type + ".total")) + if (rules.getBoolean ("reports." + type + ".totals")) { int indent = (rules.getBoolean ("reports." + type + ".month") ? 4 : 0) + (rules.getBoolean ("reports." + type + ".week") ? 4 : 0) +