diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2023-01-30 14:59:06 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2023-02-02 08:38:40 +0000 |
commit | 2d5e0e038f4e04ff7aa330e72d7358d5335a6f3a (patch) | |
tree | 3526d9769b5b153406e110546f0af849b33d2474 /sfx2 | |
parent | dccc056490a3d62e2a906a33862b09047ade925e (diff) |
Add missing macro infobar to isInfobarEnabled
Change-Id: I7b9ddc0adfed2b7c27150d2d126f83e6a5ecf19d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146360
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/infobar.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx index aca75bffadd1..3eeb41b98e32 100644 --- a/sfx2/source/dialog/infobar.cxx +++ b/sfx2/source/dialog/infobar.cxx @@ -435,6 +435,8 @@ bool SfxInfoBarContainerWindow::isInfobarEnabled(std::u16string_view sId) return officecfg::Office::UI::Infobar::Enabled::WhatsNew::get(); if (sId == u"hiddentrackchanges") return officecfg::Office::UI::Infobar::Enabled::HiddenTrackChanges::get(); + if (sId == u"macro") + return officecfg::Office::UI::Infobar::Enabled::MacrosDisabled::get(); return true; } |