From 09d4fdc6845858277f16af0f34d8a8f46f37c3fb Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 7 Dec 2020 20:33:52 +0100 Subject: [PATCH] cc_frm_button: add methode clearButtonDirectKeys() --- src/gui/components/cc_frm_button.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/components/cc_frm_button.h b/src/gui/components/cc_frm_button.h index e8d37ed0f..0fccdecf8 100644 --- a/src/gui/components/cc_frm_button.h +++ b/src/gui/components/cc_frm_button.h @@ -228,6 +228,12 @@ class CComponentsButton : public CComponentsFrmChain, public CCTextScreen return RC_NOKEY; } + /** + * Remove all defined direct keys. + * @return void + */ + void clearButtonDirectKeys(){cc_directKeys.clear();} + /** * Returns count of existant direct keys of cc_directKeys container. * @return size_t