From 61febf5dad967e94e7432eba53d2fdd01cf322a4 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 16 Dec 2018 01:17:01 +0100 Subject: [PATCH] menu: add possibility to get action state of menu widget Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/48b5f1a1f9232873d577f0c8e40e98f024956c57 Author: vanhofen Date: 2018-12-16 (Sun, 16 Dec 2018) Origin message was: ------------------ - menu: add possibility to get action state of menu widget --- 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 0f37028f5..ec39de774 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