sc/source/ui/miscdlgs/linkarea.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit c6028a9ce60f25027b2901e9cc03b3a8f8883810
Author:     Ilmari Lauhakangas <[email protected]>
AuthorDate: Sat Jan 17 19:06:34 2026 +0200
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Sun Jan 18 13:35:53 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

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));

Reply via email to