mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
use bold to identify current tab in corner widget
Signed-off-by: Le Tan <tamlokveer@gmail.com>
This commit is contained in:
parent
f0428f7b90
commit
8b26e4424d
@ -396,7 +396,9 @@ void VEditWindow::updateTabListMenu()
|
|||||||
action->setStatusTip(generateTooltip(file));
|
action->setStatusTip(generateTooltip(file));
|
||||||
action->setData(QVariant::fromValue(file));
|
action->setData(QVariant::fromValue(file));
|
||||||
if (i == curTab) {
|
if (i == curTab) {
|
||||||
action->setIcon(QIcon(":/resources/icons/current_tab.svg"));
|
QFont font;
|
||||||
|
font.setBold(true);
|
||||||
|
action->setFont(font);
|
||||||
}
|
}
|
||||||
menu->addAction(action);
|
menu->addAction(action);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user