summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2017-01-11 14:47:47 +0100
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-01-19 18:12:59 +0100
commit076ebe52d51cf48b7cc6f6748e455aa7783fa912 (patch)
tree5d0e306d396f96ea3a43a12c32ad5ddff64d6f1a
parent7bcdaeb79073ddbaba24d8630f7dae9a542e3542 (diff)
SafeModeDialog: set correct initial checkbox state
Change-Id: I3aa45ae4b02afd2ea8e1a5a427eb6f0f17219430 Reviewed-on: https://gerrit.libreoffice.org/32967 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--svx/source/dialog/SafeModeDialog.cxx7
1 files 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() +