summaryrefslogtreecommitdiff
path: root/AGWCode.cpp
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-06-21 08:25:00 +0100
committerg8bpq <john.wiseman@cantab.net>2023-06-21 08:25:00 +0100
commit01f8df5cbe5f55ab92acd6e3cdaaeb4f2f9563c8 (patch)
tree1eb62a1cdc746f0464d7fafccb630d13f0629c9e /AGWCode.cpp
parent54d80b9e90b56cb2117be3997479a01190f7e9aa (diff)
0.0.0.66
Diffstat (limited to 'AGWCode.cpp')
-rw-r--r--AGWCode.cpp4
1 files changed, 4 insertions, 0 deletions
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);