mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Revert "Bug 756339 - Prices table not updated"
This reverts commit 0baf078b6f
,
and is step 1 in reverting out the single-price changes and
moving them to master.
This commit is contained in:
parent
9d43a616e1
commit
9fc0c4667c
@ -203,7 +203,7 @@ write_price( GNCPrice* p, gpointer data )
|
|||||||
g_return_val_if_fail( p != NULL, FALSE );
|
g_return_val_if_fail( p != NULL, FALSE );
|
||||||
g_return_val_if_fail( data != NULL, FALSE );
|
g_return_val_if_fail( data != NULL, FALSE );
|
||||||
|
|
||||||
if ( s->is_ok && gnc_price_get_source(p) != PRICE_SOURCE_INVOICE)
|
if ( s->is_ok && gnc_price_get_source(p) == PRICE_SOURCE_INVOICE)
|
||||||
{
|
{
|
||||||
s->is_ok = save_price( s->be, QOF_INSTANCE(p) );
|
s->is_ok = save_price( s->be, QOF_INSTANCE(p) );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user