From 9913a578b24a52bf0ed3b1d17ce424d18f5ebeed Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sun, 16 Dec 2018 01:17:01 +0100 Subject: [PATCH] - menu: add possibility to get action state of menu widget Signed-off-by: Thilo Graf --- src/gui/widget/menue.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/widget/menue.h b/src/gui/widget/menue.h index 64bfee4f6..5c0359c06 100644 --- a/src/gui/widget/menue.h +++ b/src/gui/widget/menue.h @@ -664,6 +664,7 @@ class CMenuWidget : public CMenuTarget, public CComponentsSignals void setNextShortcut(int sc) { nextShortcut = sc; }; int getNextShortcut() { return nextShortcut; }; + bool gotAction() { return !no_action; }; }; class CPINProtection