From 076ebe52d51cf48b7cc6f6748e455aa7783fa912 Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Wed, 11 Jan 2017 14:47:47 +0100 Subject: SafeModeDialog: set correct initial checkbox state Change-Id: I3aa45ae4b02afd2ea8e1a5a427eb6f0f17219430 Reviewed-on: https://gerrit.libreoffice.org/32967 Reviewed-by: Katarina Behrens Tested-by: Katarina Behrens --- svx/source/dialog/SafeModeDialog.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/svx/source/dialog/SafeModeDialog.cxx b/svx/source/dialog/SafeModeDialog.cxx index e9ff29cbbe08..237123860f5d 100644 --- a/svx/source/dialog/SafeModeDialog.cxx +++ b/svx/source/dialog/SafeModeDialog.cxx @@ -115,11 +115,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() + -- cgit