mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 720564 - Search in General Ledger
If you search from a General Ledger the search results will update the General Ledger and the only way to get back the contents is to close and reopen the General Ledger. This change makes it the same as any other register in that the search results are opened in a new search page.
This commit is contained in:
parent
562b4be220
commit
ae39df07eb
@ -184,6 +184,9 @@ find_by_query (gpointer find_data, gpointer user_data)
|
||||
Query* q = find_data;
|
||||
GNCLedgerDisplay* ld = user_data;
|
||||
|
||||
if (ld->reg->type != SEARCH_LEDGER)
|
||||
return FALSE;
|
||||
|
||||
if (!q || !ld)
|
||||
return FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user