Commit a9064749 authored by Jean Bréfort's avatar Jean Bréfort
Browse files

Fix one more graph size issue when the graph is in its own sheet. [#565]

parent 0660fe3c
2021-02-21 Jean Brefort <jean.brefort@normalesup.org>
* src/sheet-object-graph.c (gnm_sog_bounds_changed): don't take anchors
into account when updating the graph inside a graph sheet. [#565]
2021-02-14 Morten Welinder <terra@gnome.org>
* src/cell.c (gnm_cell_get_effective_style): New function to
......
......@@ -6,6 +6,7 @@ Andreas:
Jean:
* Fix graph size issue when the graph is in its own sheet. [#516]
* Fix one more graph size issue when the graph is in its own sheet. [#565]
JohnDenker:
* Fix ssgrep problem when used as a filter. [#552]
......
......@@ -570,7 +570,7 @@ gnm_sog_bounds_changed (SheetObject *so)
SheetObjectGraph *sog = GNM_SO_GRAPH (so);
/* If it has not been realized there is no renderer yet */
if (sog->renderer != NULL)
if (sog->renderer != NULL && so->sheet->sheet_type == GNM_SHEET_DATA)
sog_update_graph_size (sog);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment