mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +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->setData(QVariant::fromValue(file));
|
||||
if (i == curTab) {
|
||||
action->setIcon(QIcon(":/resources/icons/current_tab.svg"));
|
||||
QFont font;
|
||||
font.setBold(true);
|
||||
action->setFont(font);
|
||||
}
|
||||
menu->addAction(action);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user