From 13b667f971491f28ceb7462ea451bcd51cbbc121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Sun, 3 Jun 2007 19:43:35 +0000 Subject: [PATCH] Show price scatterplot if the source is the price db and no account has shares. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16149 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/report/standard-reports/price-scatter.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/report/standard-reports/price-scatter.scm b/src/report/standard-reports/price-scatter.scm index d073ce0b68..4f5355d981 100644 --- a/src/report/standard-reports/price-scatter.scm +++ b/src/report/standard-reports/price-scatter.scm @@ -212,7 +212,8 @@ (if (not (gnc-commodity-equiv report-currency price-commodity)) (begin - (if (not (null? currency-accounts)) + (if (or (not (null? currency-accounts)) + (eq? price-source 'pricedb)) (set! data (case price-source