sc/source/ui/miscdlgs/linkarea.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit cabded5bde897bf627f1ede3e1835e18fadffd83 Author: Ilmari Lauhakangas <[email protected]> AuthorDate: Sat Jan 17 19:06:34 2026 +0200 Commit: Xisco Fauli <[email protected]> CommitDate: Mon Jan 19 11:41:56 2026 +0100 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 <[email protected]> Tested-by: Ilmari Lauhakangas <[email protected]> Reviewed-by: Ilmari Lauhakangas <[email protected]> Tested-by: Jenkins (cherry picked from commit c6028a9ce60f25027b2901e9cc03b3a8f8883810) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197520 (cherry picked from commit 23c58b0b95ba30dbe67ab451f07ddc2ef9e2070e) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197554 Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sc/source/ui/miscdlgs/linkarea.cxx b/sc/source/ui/miscdlgs/linkarea.cxx index ca559e626aff..c02610c4fc30 100644 --- a/sc/source/ui/miscdlgs/linkarea.cxx +++ b/sc/source/ui/miscdlgs/linkarea.cxx @@ -266,8 +266,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));
