diff options
Diffstat (limited to 'cui/source/options/treeopt.cxx')
-rw-r--r-- | cui/source/options/treeopt.cxx | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 8ec8a0b3d252..5cb3fde4677b 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -738,6 +738,9 @@ IMPL_LINK_NOARG(OfaTreeOptionsDialog, OKHdl_Impl, weld::Button&, void) ::svtools::executeRestartDialog(comphelper::getProcessComponentContext(), m_pParent, eRestartReason); } + + ApplyItemSets(); + utl::ConfigManager::storeConfigItems(); } void OfaTreeOptionsDialog::ApplyItemSets() @@ -1932,15 +1935,7 @@ short OfaTreeOptionsDialog::run() pClamp.reset( new SvxDicListChgClamp( xDictionaryList ) ); } - short nRet = SfxOkDialogController::run(); - - if( RET_OK == nRet ) - { - ApplyItemSets(); - utl::ConfigManager::storeConfigItems(); - } - - return nRet; + return SfxOkDialogController::run(); } // class ExtensionsTabPage ----------------------------------------------- |