summaryrefslogtreecommitdiff
path: root/svx
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-12 09:20:23 +0000
commit229d98e94a5d6b350c4d5fd5469be8e4a260a40c (patch)
tree1e27ea7b1f02ba77a43d899d5083b13e3b27a23e /svx
parentfbbb4850dc12ccae3a2140814115e4cd7985b116 (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>
Diffstat (limited to 'svx')
-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 b77b83fe680a..abc2215a5633 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() +