From 5947f5028b4e7e7da8f8ff58de0c7268ea06cdd3 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Wed, 2 Oct 2024 18:26:08 -0400 Subject: [PATCH] display a total count of TGs for the list title; --- src/tged/TGListWnd.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tged/TGListWnd.h b/src/tged/TGListWnd.h index d7309bcd..6e0ed205 100644 --- a/src/tged/TGListWnd.h +++ b/src/tged/TGListWnd.h @@ -110,6 +110,12 @@ public: m_listView.insert(line); } + // generate dialog title + uint32_t len = g_tidLookups->groupVoice().size(); + std::stringstream ss; + ss << "Talkgroup List (" << len << " TGs)"; + FDialog::setText(ss.str()); + setFocusWidget(&m_listView); redraw(); }