[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 19 21:08:14 UTC 2018
sw/source/ui/index/cnttab.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit ea21a1d76ee02b29ca9d77cbdb4f5b2b3344ea11
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 18 15:51:55 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Dec 19 22:07:46 2018 +0100
fallback to first entry
Change-Id: Ib9fb979584818d1c76be730975c57b549f372dca
Reviewed-on: https://gerrit.libreoffice.org/65434
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index cb073ff86353..0a1e338a27c9 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -997,6 +997,8 @@ void SwTOXSelectTabPage::ApplyTOXDescription()
if (nIndex != -1)
m_xCaptionSequenceLB->set_active(nIndex);
m_xDisplayTypeLB->set_active(static_cast<sal_Int32>(rDesc.GetCaptionDisplay()));
+ if (m_xDisplayTypeLB->get_active() == -1)
+ m_xDisplayTypeLB->set_active(0);
RadioButtonHdl(*m_xFromCaptionsRB);
}
More information about the Libreoffice-commits
mailing list