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

Katarina Behrens Katarina.Behrens at cib.de
Thu Jan 12 09:20:46 UTC 2017


 svx/source/dialog/SafeModeDialog.cxx |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

New commits:
commit 229d98e94a5d6b350c4d5fd5469be8e4a260a40c
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date:   Wed Jan 11 14:47:47 2017 +0100

    SafeModeDialog: set correct initial checkbox state
    
    Change-Id: I3aa45ae4b02afd2ea8e1a5a427eb6f0f17219430
    Reviewed-on: https://gerrit.libreoffice.org/32967
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
    Tested-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/svx/source/dialog/SafeModeDialog.cxx b/svx/source/dialog/SafeModeDialog.cxx
index b77b83f..abc2215 100644
--- a/svx/source/dialog/SafeModeDialog.cxx
+++ b/svx/source/dialog/SafeModeDialog.cxx
@@ -114,11 +114,10 @@ SafeModeDialog::SafeModeDialog(vcl::Window* pParent)
     // Disable restart btn until some checkbox is active
     mpBtnRestart->Disable();
 
-    // Check the first radio button and disable the other parts
+    // Check the first radio button and call its handler,
+    // it'll disable the relevant parts
     mpRadioRestore->Check();
-    mpBoxConfigure->Disable();
-    mpBoxDeinstall->Disable();
-    mpBoxReset->Disable();
+    RadioBtnHdl( mpRadioRestore );
 
     // Set URL for help button (module=safemode)
     OUString sURL("http://hub.libreoffice.org/send-feedback/?LOversion=" + utl::ConfigManager::getAboutBoxProductVersion() +


More information about the Libreoffice-commits mailing list