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 <noel.grandin@collabora.co.uk>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
This commit is contained in:
Ilmari Lauhakangas
2026-01-18 13:35:53 +01:00
parent f63f00c611
commit c6028a9ce6
+3 -1
View File
@@ -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));