mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
add tooltip in VOutline
Signed-off-by: Le Tan <tamlokveer@gmail.com>
This commit is contained in:
parent
8b26e4424d
commit
3ecae78262
@ -55,6 +55,7 @@ void VOutline::updateTreeByLevel(const QVector<VHeader> &headers, int &index,
|
||||
itemJson["line_number"] = header.lineNumber;
|
||||
item->setData(0, Qt::UserRole, itemJson);
|
||||
item->setText(0, header.name);
|
||||
item->setToolTip(0, header.name);
|
||||
|
||||
last = item;
|
||||
++index;
|
||||
|
Loading…
x
Reference in New Issue
Block a user