GUI: add "new" action
This commit is contained in:
parent
9bc2657965
commit
54c1a8171f
5 changed files with 11 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue