GUI: add "new" action

This commit is contained in:
tildearrow 2023-04-02 16:39:06 -05:00
parent 9bc2657965
commit 54c1a8171f
5 changed files with 11 additions and 1 deletions

View file

@ -3581,7 +3581,7 @@ bool FurnaceGUI::loop() {
if (!mobileUI) {
ImGui::BeginMainMenuBar();
if (ImGui::BeginMenu("file")) {
if (ImGui::MenuItem("new...")) {
if (ImGui::MenuItem("new...",BIND_FOR(GUI_ACTION_NEW))) {
if (modified) {
showWarning("Unsaved changes! Save changes before creating a new song?",GUI_WARN_NEW);
} else {