| commit | eff5a3fe98ca5d1d28c4f5386c4af8a3be8f5703 | [log] |
|---|---|---|
| author | Caolán McNamara <caolan.mcnamara@collabora.com> | Mon Jul 31 14:45:42 2023 +0100 |
| committer | Caolán McNamara <caolan.mcnamara@collabora.com> | Tue Aug 01 10:15:14 2023 +0200 |
| tree | 32129de8a16315fd5b1dae02b6ddf2e724103f32 | |
| parent | 073072f0a3abacfe4f9cc920b8138d7abc84db70 [diff] |
gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->tree != NULL' failed on loading sw//qa/extras/layout/data/tdf125334.odt and double clicking chart Change-Id: I65b10c0223e9c217d77dc7daa73580fadffc32c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155096 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx index 8a31c73..4e3e4bb 100644 --- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx +++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
@@ -295,7 +295,7 @@ IMPL_LINK_NOARG(AxisPositionsTabPage, CrossesAtSelectHdl, weld::ComboBox&, void) if (m_xED_CrossesAt->get_text().isEmpty()) m_xED_CrossesAt->GetFormatter().SetValue(0.0); if (m_xED_CrossesAtCategory->get_active() == -1) if (m_xED_CrossesAtCategory->get_active() == -1 && m_xED_CrossesAtCategory->get_count()) m_xED_CrossesAtCategory->set_active(0); PlaceLabelsSelectHdl(*m_xLB_PlaceLabels);