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.
This commit is contained in:
Robin Gareus 2024-09-08 21:09:37 +02:00
parent d257c8c0ce
commit 3b5a6e1f15
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -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<MidiModel> m, const std::string& name) : DiffCommand (m, name) {}
SysExDiffCommand (std::shared_ptr<MidiModel> m, const XMLNode& node);
enum Property {