sfx2/source/doc/templatedlg.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit df54f8a4bd8970cf13e6a6aaf9056afccf2cc758 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Oct 4 14:08:03 2024 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Oct 4 15:30:03 2024 +0200 related tdf#163291: revert workaround for tdf#137922 It's no longer needed after bb0e5aa97965b2710200da677db032289c373afe "tdf#163291 Fix AdditionsDialog in start center" This reverts commit 63b0565ad137e5d81932f1fabba732ba40f6cb70 Change-Id: Ib89ddaf9a9654220ade6f40a6c48933763ca4a30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174477 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Tested-by: Jenkins diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index f0f0322a14d9..e32445fcbcfa 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -206,11 +206,7 @@ SfxTemplateManagerDlg::SfxTemplateManagerDlg(weld::Window *pParent) mxLocalViewWeld->set_size_request(TEMPLATE_ITEM_MAX_WIDTH * 5, TEMPLATE_ITEM_MAX_HEIGHT_SUB * 3); mxOKButton->connect_clicked(LINK(this, SfxTemplateManagerDlg, OkClickHdl)); - // FIXME: rather than disabling make dispatchCommand(".uno:AdditionsDialog") work in start center - if ( !SfxModule::GetActiveModule() ) - mxActionBar->set_item_sensitive(MNI_ACTION_EXTENSIONS, false); - else - mxActionBar->set_item_sensitive(MNI_ACTION_EXTENSIONS, true); + mxActionBar->set_item_sensitive(MNI_ACTION_EXTENSIONS, true); mxListViewButton->connect_toggled(LINK(this, SfxTemplateManagerDlg, ListViewHdl)); mxThumbnailViewButton->connect_toggled(LINK(this, SfxTemplateManagerDlg, ThumbnailViewHdl));