From c6028a9ce60f25027b2901e9cc03b3a8f8883810 Mon Sep 17 00:00:00 2001 From: Ilmari Lauhakangas Date: Sat, 17 Jan 2026 19:06:34 +0200 Subject: [PATCH] tdf#168132 Make sure ranges do not show as disabled in Calc's External Data dialog Change-Id: I5cc64cea920f778e33f0a3e28e082839ceb8314a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197509 Reviewed-by: Noel Grandin Tested-by: Ilmari Lauhakangas Reviewed-by: Ilmari Lauhakangas Tested-by: Jenkins --- sc/source/ui/miscdlgs/linkarea.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sc/source/ui/miscdlgs/linkarea.cxx b/sc/source/ui/miscdlgs/linkarea.cxx index 906883523997..842cd76afcb1 100644 --- a/sc/source/ui/miscdlgs/linkarea.cxx +++ b/sc/source/ui/miscdlgs/linkarea.cxx @@ -263,8 +263,10 @@ void ScLinkedAreaDlg::UpdateSourceRanges() m_xLbRanges->thaw(); - if (m_xLbRanges->n_children() >= 1) + if (m_xLbRanges->n_children() >= 1) { m_xLbRanges->select(0); + m_xLbRanges->set_sensitive(true); + } else { m_xLbRanges->append_text(ScResId(STR_NO_NAMED_RANGES_AVAILABLE));