diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-12-16 14:21:37 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-12-31 21:49:30 +0100 |
commit | cb32be59baca89dc0d21a5f16c8ecd46b143c436 (patch) | |
tree | 8b6ed5d7b3264124c05964611f3e17c55e06c1fc | |
parent | 26ad33a6f1e894d7352fb3d175c8d15dd28673b2 (diff) |
tdf#122136: select first element if there's at least one
See bt from https://bugs.documentfoundation.org/attachment.cgi?id=147594
Change-Id: Ibf031b8024aa4952e2d3263a445cafdb3c031390
Reviewed-on: https://gerrit.libreoffice.org/65222
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | cui/source/options/optjava.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index 3f8c0cb794da..fb401745c52e 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -1012,9 +1012,9 @@ void SvxJavaClassPathDlg::SetClassPath( const OUString& _rPath ) m_xPathList->append("", sPath, SvFileInformationManager::GetImageId(aURL)); } while (nIdx>=0); + // select first entry + m_xPathList->select(0); } - // select first entry - m_xPathList->select(0); SelectHdl_Impl(*m_xPathList); } |