mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdChart: Corrected report setting names
This commit is contained in:
parent
80e9edb90f
commit
e7aaf175c4
1 changed files with 2 additions and 2 deletions
|
@ -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) +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue