From 82b089e4788df4e65c08de284661ca4b0f257edf Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Fri, 26 Feb 2016 13:23:45 +1100 Subject: [PATCH] tgroup: add a clear() function --- src/gui/widgets/group.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gui/widgets/group.hpp b/src/gui/widgets/group.hpp index af891ba4cfc8..7d78650f4a71 100644 --- a/src/gui/widgets/group.hpp +++ b/src/gui/widgets/group.hpp @@ -59,6 +59,14 @@ class tgroup } #endif + /** + * Clears the entire group of members. + */ + void clear() + { + members_.clear(); + } + /** * Group member getters */