From 01f8df5cbe5f55ab92acd6e3cdaaeb4f2f9563c8 Mon Sep 17 00:00:00 2001 From: g8bpq Date: Wed, 21 Jun 2023 08:25:00 +0100 Subject: 0.0.0.66 --- AGWCode.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'AGWCode.cpp') diff --git a/AGWCode.cpp b/AGWCode.cpp index 10bed29..9539b07 100644 --- a/AGWCode.cpp +++ b/AGWCode.cpp @@ -22,6 +22,8 @@ extern QColor outputText; extern QColor EchoText; extern QColor WarningText; +extern QColor newTabText; + extern QTabWidget *tabWidget; extern QWidget * mythis; @@ -1039,7 +1041,9 @@ void on_AGW_C_frame(AGWUser * AGW, struct AGWHeader * Frame, byte * Msg) else if (TermMode == Tabbed) { tabWidget->setTabText(i, CallFrom); + tabWidget->tabBar()->setTabTextColor(i, newTabText); } + else if (TermMode == Single) mythis->setWindowTitle(Title); -- cgit v1.2.3