* src/gnome-utils/dialog-transfer.c: always set the exchange-rate

as a positive value (use ABS).  Fixes the rest of #102163.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7747 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2003-01-02 00:27:59 +00:00
parent f158234c94
commit a28276e488
2 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,10 @@
handler during certain paths of the ok_cb because the focus-out
signal may not get handled in all cases -- so force the issue.
Fixes bug #102163
* src/gnome-utils/dialog-transfer.c: always set the exchange-rate
as a positive value (use ABS). Fixes the rest of #102163.
2002-12-30 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/hbci/druid-hbci-initial.c
* src/import-export/hbci/gnc-hbci-utils.c:

View File

@ -1406,7 +1406,7 @@ gnc_xfer_dialog_ok_cb(GtkWidget * widget, gpointer data)
gnc_xfer_to_amount_update_cb(xferData->to_amount_edit, NULL, xferData);
*(xferData->exch_rate) =
gnc_amount_edit_get_amount(GNC_AMOUNT_EDIT(xferData->price_edit));
gnc_numeric_abs(gnc_amount_edit_get_amount(GNC_AMOUNT_EDIT(xferData->price_edit)));
}
else
{