[Libreoffice-commits] core.git: sw/inc sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Jan 18 11:23:03 UTC 2019
sw/inc/strings.hrc | 1 +
sw/source/ui/chrdlg/numpara.cxx | 2 ++
2 files changed, 3 insertions(+)
New commits:
commit 0945136575835844ec70abc00a7487ed6b3ff481
Author: heiko tietze <tietze.heiko at gmail.com>
AuthorDate: Fri Jan 18 10:20:31 2019 +0100
Commit: Heiko Tietze <tietze.heiko at gmail.com>
CommitDate: Fri Jan 18 12:22:34 2019 +0100
Resolves tdf#122637 - Disabled controls in Outline & Numbering unclear
Tooltip added
Change-Id: I4e92dc1be5bb5e864f5a10f62fd65ba1494cab6c
Reviewed-on: https://gerrit.libreoffice.org/66575
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <tietze.heiko at gmail.com>
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
index 0a53ed3df64a..79ce8941bfb9 100644
--- a/sw/inc/strings.hrc
+++ b/sw/inc/strings.hrc
@@ -247,6 +247,7 @@
#define SW_STR_READONLY NC_("SW_STR_READONLY", "read-only")
#define STR_READONLY_PATH NC_("STR_READONLY_PATH", "The 'AutoText' directories are read-only. Do you want to call the path settings dialog?")
#define STR_DOC_STAT NC_("STR_DOC_STAT", "Statistics")
+#define STR_OUTLINENUMBERING_DISABLED NC_("STR_OUTLINENUMBERING_DISABLED","This option is disabled when chapter numbering is assigned to a paragraph style")
// Statusbar-titles
#define STR_STATSTR_W4WREAD NC_("STR_STATSTR_W4WREAD", "Importing document...")
#define STR_STATSTR_W4WWRITE NC_("STR_STATSTR_W4WWRITE", "Exporting document...")
diff --git a/sw/source/ui/chrdlg/numpara.cxx b/sw/source/ui/chrdlg/numpara.cxx
index 5b15c5143c57..65209b1a1658 100644
--- a/sw/source/ui/chrdlg/numpara.cxx
+++ b/sw/source/ui/chrdlg/numpara.cxx
@@ -267,11 +267,13 @@ void SwParagraphNumTabPage::Reset(const SfxItemSet* rSet)
void SwParagraphNumTabPage::DisableOutline()
{
m_xOutlineStartBX->set_sensitive(false);
+ m_xOutlineStartBX->set_tooltip_text( SwResId(STR_OUTLINENUMBERING_DISABLED) );
}
void SwParagraphNumTabPage::DisableNumbering()
{
m_xNumberStyleBX->set_sensitive(false);
+ m_xNumberStyleBX->set_tooltip_text( SwResId(STR_OUTLINENUMBERING_DISABLED) );
}
void SwParagraphNumTabPage::EnableNewStart()
More information about the Libreoffice-commits
mailing list