Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Grissel Vázquez Bustos
gnumeric
Commits
8745a0d3
Commit
8745a0d3
authored
Oct 29, 2022
by
Morten Welinder
Browse files
CondFormat: fix problem during sheet invalidate.
parent
0324b37b
Changes
4
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
8745a0d3
2022-10-29 Morten Welinder <terra@gnome.org>
* src/sheet-conditions.c (update_group): Fix problem during sheet
finalize.
* src/sheet.c (sheet_destroy_contents): Set cell_hash to NULL
after we free it for easier debug.
2022-10-08 Morten Welinder <terra@gnome.org>
* src/libgnumeric.c (gnm_pre_parse_init): Use basename of argv[0],
...
...
NEWS
View file @
8745a0d3
...
...
@@ -7,6 +7,7 @@ Morten:
* Improve various desktop environments' icon discovery. [#677]
* New function ENCODEURL. [#658]
* New libpython configuration. [#680]
* Fix problem relating to sheet remove and conditional format.
--------------------------------------------------------------------------
Gnumeric 1.12.53
...
...
src/sheet-conditions.c
View file @
8745a0d3
...
...
@@ -711,6 +711,10 @@ update_group (CSGroup *g)
return
;
}
// If we are finalizing the sheet, just get out.
if
(
g
->
dep
.
base
.
sheet
->
deps
==
NULL
)
return
;
pos
=
&
g_array_index
(
g
->
ranges
,
GnmRange
,
0
).
start
;
gnm_style_conditions_set_pos
(
g
->
conds
,
pos
);
...
...
src/sheet.c
View file @
8745a0d3
...
...
@@ -4943,6 +4943,7 @@ sheet_destroy_contents (Sheet *sheet)
/* Remove all the cells */
sheet_cell_foreach
(
sheet
,
(
GHFunc
)
&
cb_remove_allcells
,
NULL
);
g_hash_table_destroy
(
sheet
->
cell_hash
);
sheet
->
cell_hash
=
NULL
;
/* Delete in ascending order to avoid decrementing max_used each time */
for
(
i
=
0
;
i
<=
sheet
->
cols
.
max_used
;
++
i
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment