Custom menu

Fork of Menu by Peihsun Yeh

Revision:
4:396eff5be1a1
Parent:
3:3fceb6ff921e
--- a/Navigator.cpp	Thu Feb 26 11:57:11 2015 +0000
+++ b/Navigator.cpp	Tue Mar 03 03:57:46 2015 +0000
@@ -53,7 +53,7 @@
 void Navigator::actionEnter() {
     if (_lastAction != enter) {
         if (activeMenu->selections[cursorPos].fun != NULL) {
-            (activeMenu->selections[cursorPos].fun)();
+            activeMenu->selections[cursorPos].fun->call();
             printMenu();
         }
         if (activeMenu->selections[cursorPos].childMenu != NULL) {