[Libreoffice-commits] core.git: cui/inc cui/source
Heiko Tietze (via logerrit)
logerrit at kemper.freedesktop.org
Tue Oct 13 12:47:07 UTC 2020
cui/inc/toolbarmode.hrc | 4 ++--
cui/source/dialogs/toolbarmodedlg.cxx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c35db66435cfecaa957b469d96ca70a31187a224
Author: Heiko Tietze <tietze.heiko at gmail.com>
AuthorDate: Tue Oct 13 13:02:57 2020 +0200
Commit: Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Tue Oct 13 14:46:27 2020 +0200
Resolves tdf#137424 - UI Picker missing 'Contextual single'
Exclusion by experimental on/off updated
Change-Id: I714b8ffc5a148d09607ab20763b6d35de2a9e2be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104231
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>
diff --git a/cui/inc/toolbarmode.hrc b/cui/inc/toolbarmode.hrc
index 7e7510b08eda..602d066e8fe1 100644
--- a/cui/inc/toolbarmode.hrc
+++ b/cui/inc/toolbarmode.hrc
@@ -31,7 +31,7 @@ const std::tuple<const char*, OUString, OUString> TOOLBARMODES_ARRAY[] =
};
//hide experimental UIs
-constexpr int nContextSingle = 7;
-constexpr int nContextGroup = 8;
+constexpr int nGroupedbarFull = 6;
+constexpr int nContextualGroups = 8;
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/toolbarmodedlg.cxx b/cui/source/dialogs/toolbarmodedlg.cxx
index 21bd7055bd96..7362ad22e54b 100644
--- a/cui/source/dialogs/toolbarmodedlg.cxx
+++ b/cui/source/dialogs/toolbarmodedlg.cxx
@@ -118,8 +118,8 @@ ToolbarmodeDialog::ToolbarmodeDialog(weld::Window* pParent)
if (!SvtMiscOptions().IsExperimentalMode())
{
- m_pRadioButtons[nContextSingle]->set_visible(false);
- m_pRadioButtons[nContextGroup]->set_visible(false);
+ m_pRadioButtons[nGroupedbarFull]->set_visible(false);
+ m_pRadioButtons[nContextualGroups]->set_visible(false);
}
}
More information about the Libreoffice-commits
mailing list