mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
If we don't have a tooltip in the TOC, then use the display string
as the tooltip. This isn't redundant, since the TOC itself might truncate the display string. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40628 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
af5938cb6c
commit
885084fea8
@ -70,7 +70,7 @@ docstring const & TocItem::str() const
|
||||
|
||||
docstring const & TocItem::tooltip() const
|
||||
{
|
||||
return tooltip_;
|
||||
return tooltip_.empty() ? str_ : tooltip_;
|
||||
}
|
||||
|
||||
|
||||
|
@ -76,6 +76,9 @@ What's new
|
||||
Detect value change of preferences path to hunspell dictionaries
|
||||
to avoid the need for a restart. This is related to bug 7884.
|
||||
|
||||
- We now use the display string as a tooltip in the Outliner, if no
|
||||
other tooltip is given.
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user