Browse Source

use bold to identify current tab in corner widget

Signed-off-by: Le Tan <[email protected]>
Le Tan 9 năm trước cách đây
mục cha
commit
8b26e4424d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/veditwindow.cpp

+ 3 - 1
src/veditwindow.cpp

@@ -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);
     }