Browse Source

use bold to identify current tab in corner widget

Signed-off-by: Le Tan <[email protected]>
Le Tan 9 years ago
parent
commit
8b26e4424d
1 changed files with 3 additions and 1 deletions
  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);
     }