diff options
author | John Wiegley <johnw@newartisans.com> | 2008-09-18 11:42:32 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-09-18 11:42:32 -0400 |
commit | e4be662c513f95a19dc30c2b32cd89968e16d09d (patch) | |
tree | e0827279ac3e2a63797c83635fca55bd187e97f9 /src/output.h | |
parent | 1fcf7b5fc1eb107178b009fcc9208faa5f73cdbf (diff) | |
download | fork-ledger-e4be662c513f95a19dc30c2b32cd89968e16d09d.tar.gz fork-ledger-e4be662c513f95a19dc30c2b32cd89968e16d09d.tar.bz2 fork-ledger-e4be662c513f95a19dc30c2b32cd89968e16d09d.zip |
Don't try to parse a display predicate if none has been set.
Diffstat (limited to 'src/output.h')
-rw-r--r-- | src/output.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output.h b/src/output.h index 01b5221f..af594cda 100644 --- a/src/output.h +++ b/src/output.h @@ -113,7 +113,7 @@ public: } bool should_display(account_t& account) { - if (! disp_pred.predicate) + if (! disp_pred.predicate && ! report.display_predicate.empty()) disp_pred.predicate.parse(report.display_predicate); return disp_pred(account); } |