mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +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/trunk@40626 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
12b16d1ae9
commit
49b838a320
@ -70,7 +70,7 @@ docstring const & TocItem::str() const
|
||||
|
||||
docstring const & TocItem::tooltip() const
|
||||
{
|
||||
return tooltip_;
|
||||
return tooltip_.empty() ? str_ : tooltip_;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user