[Libreoffice-commits] core.git: cui/source

melikeyurtoglu aysemelikeyurtoglu at gmail.com
Sun May 14 13:39:27 UTC 2017


 cui/source/options/optgdlg.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 45949bf73790b8214a1fcc8492f4ee6faad20780
Author: melikeyurtoglu <aysemelikeyurtoglu at gmail.com>
Date:   Sat May 13 15:10:05 2017 +0300

    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 at gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/37572
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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


More information about the Libreoffice-commits mailing list