summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/strings.hrc1
-rw-r--r--sw/source/ui/chrdlg/numpara.cxx2
2 files changed, 3 insertions, 0 deletions
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()