summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelikeyurtoglu <aysemelikeyurtoglu@gmail.com>2017-05-13 15:10:05 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-14 15:38:44 +0200
commit45949bf73790b8214a1fcc8492f4ee6faad20780 (patch)
treeca8cfdb52298d031a6a18449d35e1d1e7595b06e
parenta9739f2dec197793fa9400dd95be49494dc85264 (diff)
tdf#58134 Reset Button in Options Dialogues does not Work with all Options.
Reset Button in Language Settings > Languages > Language Of > User interface option. Change-Id: I3bc18af185330035cfd0a14b50912ef7a2847fab Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/37572 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--cui/source/options/optgdlg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 07496d9e6c26..7696a7726df5 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1568,6 +1568,7 @@ bool OfaLanguagesTabPage::FillItemSet( SfxItemSet* rSet )
void OfaLanguagesTabPage::Reset( const SfxItemSet* rSet )
{
LanguageTag aLanguageTag( pLangConfig->aSysLocaleOptions.GetLanguageTag());
+ m_pUserInterfaceLB->SelectEntryPos(0);
if ( aLanguageTag.isSystemLocale() )
m_pLocaleSettingLB->SelectLanguage( LANGUAGE_USER_SYSTEM_CONFIG );
else