From 01a6f816ddea3508b4b696214ba543a8e60658f4 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 30 May 2022 18:57:51 +0300 Subject: Autocommit at 30.05.2022 @ 18:57 --- src/UserInterface/UserInterface.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/UserInterface/UserInterface.cpp') diff --git a/src/UserInterface/UserInterface.cpp b/src/UserInterface/UserInterface.cpp index 8445d0b..c8b672e 100644 --- a/src/UserInterface/UserInterface.cpp +++ b/src/UserInterface/UserInterface.cpp @@ -94,7 +94,12 @@ UserInterface::UserInterface(Table* inTable) : menu() { if (table == nullptr) table = inTable; + menu.addCommand(Command("open", com_open)); + menu.addCommand(Command("close", com_close)); + menu.addCommand(Command("save", com_save)); + menu.addCommand(Command("saveas", com_saveas)); menu.addCommand(Command("help", com_help)); + menu.addCommand(Command("exit", com_exit)); menu.addCommand(Command("print", com_print)); menu.addCommand(Command("edit", com_edit)); } -- cgit v1.3.1-23-gd82d