mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix threshold treatment in r22108, r22109 to make visualization and behaviour match.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22115 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -541,7 +541,7 @@ gnc_split_register_load (SplitRegister *reg, GList * slist,
|
||||
use_autofreeze &&
|
||||
!found_divider_upper)
|
||||
{
|
||||
if (xaccTransGetDate (trans) > autofreeze_time)
|
||||
if (xaccTransGetDate (trans) >= autofreeze_time)
|
||||
{
|
||||
table->model->dividing_row_upper = vcell_loc.virt_row;
|
||||
found_divider_upper = TRUE;
|
||||
|
||||
@@ -1792,7 +1792,7 @@ static gboolean posted_date_means_readonly(const Transaction *trans)
|
||||
// g_date_get_day(&trans_date),
|
||||
// g_date_get_day(threshold_date));
|
||||
|
||||
if (g_date_compare(&trans_date, threshold_date) <= 0)
|
||||
if (g_date_compare(&trans_date, threshold_date) < 0)
|
||||
{
|
||||
//g_warning("we must auto-read-only");
|
||||
result = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user