From 3b5a6e1f15982d9cc03db07a0d1f1c0fe8d117d6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 8 Sep 2024 21:09:37 +0200 Subject: [PATCH] Fix MIDI SysEx undo/redo Previously `new_sysex_diff_command` used XMLNode c'tor. An Unnamed undo transaction was created, and undo did not work. --- libs/ardour/ardour/midi_model.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/ardour/midi_model.h b/libs/ardour/ardour/midi_model.h index dd7cfa1f1d..89ac2c4a88 100644 --- a/libs/ardour/ardour/midi_model.h +++ b/libs/ardour/ardour/midi_model.h @@ -159,6 +159,7 @@ public: /* Currently this class only supports changes of sys-ex time, but could be expanded */ class LIBARDOUR_API SysExDiffCommand : public DiffCommand { public: + SysExDiffCommand (std::shared_ptr m, const std::string& name) : DiffCommand (m, name) {} SysExDiffCommand (std::shared_ptr m, const XMLNode& node); enum Property {