Sequence seq;
if(command == "New") {
- Moosique.clearSequence();
+ if (!Moosique.promptOnUnsavedChanges()) Moosique.clearSequence();
} else if (command == "Open...") {
// Shows a file chooser. If shown previously, starts in the current directory.
if (directory != null) {
} else if (command == "Set time signature...") {
} else if (command == "Set tempo...") {
+ MooDialog newDialog = new MooDialog(MooDialog.SET_TEMPO);
} else if (command == "Scale velocity...") {