diff options
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/ConsoleInterface/Menu.cpp | 2 |
diff --git a/src/ConsoleInterface/Menu.cpp b/src/ConsoleInterface/Menu.cpp index 6b99deb..fc2c32a 100644 --- a/src/ConsoleInterface/Menu.cpp +++ b/src/ConsoleInterface/Menu.cpp @@ -8,7 +8,7 @@ Menu::Menu(const Command* commands, unsigned commandCount) { } void Menu::addCommand(const Command* command) { - menuOptions.add(command); + menuOptions.add(*command); } void Menu::navigate() const { |
