Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 797165 - Crash on price deletion.
Caused by the introduction of caching used in gnc_pricedb_nth_price, when prices were deleted, the cached list was never updated and so the tree model could reference a deleted price and hence crash. This also affected adding prices as the new prices would not show due to the cache not being updated. To fix this a function was added to reset the cache when prices are updated from the model.
- Loading branch information
Showing
4 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters