13
0

mark session dirty when changing plugin presets

This commit is contained in:
Robin Gareus 2016-08-06 14:28:20 +02:00
parent 032139ac30
commit f0a54d0f9c

View File

@ -426,6 +426,7 @@ Plugin::load_preset (PresetRecord r)
_last_preset = r;
_parameter_changed_since_last_preset = false;
_session.set_dirty ();
PresetLoaded (); /* EMIT SIGNAL */
return true;
}
@ -437,6 +438,7 @@ Plugin::clear_preset ()
_last_preset.label = "";
_parameter_changed_since_last_preset = false;
_session.set_dirty ();
PresetLoaded (); /* EMIT SIGNAL */
}