mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix missing exchange rate dialog on purchasing stocks. Patch by Mike Alexander, bug#335101.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15879 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
b1f84468ce
commit
ea9c56e68c
@ -1124,7 +1124,7 @@ gnc_split_register_handle_exchange (SplitRegister *reg, gboolean force_dialog)
|
||||
* _not_ the blank split, then return FALSE -- this is a "special"
|
||||
* gain/loss stock transaction.
|
||||
*/
|
||||
if (gnc_numeric_zero_p(exch_rate) && !force_dialog &&
|
||||
if (gnc_numeric_zero_p(exch_rate) && !force_dialog && split &&
|
||||
split != gnc_split_register_get_blank_split (reg))
|
||||
return FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user