diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-12-16 14:21:37 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-12-16 19:57:15 +0100 |
commit | 8626e81d00c253696c6b60b9a2188079120817c7 (patch) | |
tree | 75a503f8cbc5775a8acf0e4830a39d896ad4fc9b /cui | |
parent | 40328178414aac565a21799c9a76329b9e9e33cc (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/65220
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'cui')
-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 5f44c6d424f9..69b1b82c092d 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -1014,9 +1014,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); } |