mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7702 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
add45a907f
commit
d52d3b8f60
@ -578,17 +578,6 @@ refresh_handler (GHashTable *changes, gpointer user_data)
|
||||
|
||||
splits = xaccQueryGetSplits (ld->query);
|
||||
|
||||
/*
|
||||
* If the user is in the middle of editing a transaction, make sure
|
||||
* that transaction stays in the register instead of ripping it out
|
||||
* from underneath them.
|
||||
*/
|
||||
current_split = gnc_split_register_get_current_split (ld->reg);
|
||||
if (current_split &&
|
||||
(g_list_find(splits, current_split) == NULL)) {
|
||||
g_list_append(splits, current_split);
|
||||
}
|
||||
|
||||
gnc_ledger_display_set_watches (ld, splits);
|
||||
|
||||
gnc_ledger_display_refresh_internal (ld, splits);
|
||||
|
Loading…
Reference in New Issue
Block a user