more bug fix

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4542 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2001-06-08 20:48:08 +00:00
parent c8aebf690e
commit 1408d4a286
2 changed files with 10 additions and 4 deletions

View File

@ -1463,6 +1463,10 @@ pgendRunQuery (Backend *bend, Query *q)
sql_Query_destroy(sq);
/* the fill-out will dirty a lot of data. That's irrelevent,
* mark it all as having been saved. */
xaccGroupMarkSaved (be->topgroup);
pgendEnable(be);
gnc_engine_resume_events();
@ -1785,6 +1789,10 @@ pgendPriceLookup (Backend *bend, GNCPriceLookup *look)
SEND_QUERY (be, be->buff, );
pgendGetResults (be, get_price_cb, look->prdb);
/* insertion into the price db will mark it dirty;
* but it really isn't at this point. */
gnc_pricedb_mark_clean (look->prdb);
/* re-enable events */
pgendEnable(be);
gnc_engine_resume_events();
@ -3093,7 +3101,8 @@ pgend_session_begin (GNCBook *sess, const char * sessionid,
be->be.price_commit_edit = pgend_price_commit_edit;
be->be.run_query = pgendRunQuery;
be->be.price_lookup = pgendPriceLookup;
be->be.sync = pgendSync;
// be->be.sync = pgendSync;
be->be.sync = NULL;
be->be.sync_price = pgendSyncPriceDB;
PWARN ("MODE_POLL is alpha -- \n"
"there are a few unfixed bugs, but maybe this mode is usable.\n"

View File

@ -248,9 +248,6 @@ This list only affects the multi-user and advanced/optional features.
Most of the items on this list are 'critical' in the sense that
multi-user mode is fundamentally broken unless they are fixed.
-- multi-user mode says 'not saved, save?' we keep clearing this flag,
when is it getting set ???
-- modify checkpoint computation to always occur on fixed dates.
Failure to do so causes the fill-out algorithm to pull in all
data. Document this inn design.txt