Website Summary Files Commits Branches @commit @diff @stats
path: root / src / VenueConsoleUI.cpp
diff options
context:
space:
mode:
1 files changed, 3 insertions, 1 deletions
-rw-r--r--src/VenueConsoleUI.cpp4
diff --git a/src/VenueConsoleUI.cpp b/src/VenueConsoleUI.cpp
index 5a9b3d8..ced1895 100644
--- a/src/VenueConsoleUI.cpp
+++ b/src/VenueConsoleUI.cpp
@@ -112,7 +112,9 @@ void command_cancelEvent() {
char name[MAX_LINE_WIDTH];
inputLineBox("Enter event name: ", name, MAX_LINE_WIDTH);
Date date;
- inputBox("Enter event date: ")
+ inputBox("Enter event date: ", &date);
+
+ handleStatusCode(v->get_es().cancelEvent(name, date), eventManagementMenu);
}
void command_mostWatched() {