summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-12 08:20:46 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-07-12 08:34:35 -0400
commit8de675d699fd8649b273c9ea2eee81a935dd2eb3 (patch)
treec3799c0858d6b542db7dde4e89e495212072e7a0 /libs
parent1f02dd2a85afd9a5593b635baedc5cbdfdffa9bd (diff)
fix simple but fatal mistake in defining PBD::Controllable::Flags enums.
This error caused the flags to be saved as an empty string, thus losing all state when the session is reloaded
Diffstat (limited to 'libs')
-rw-r--r--libs/pbd/enums.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/enums.cc b/libs/pbd/enums.cc
index afa156bb1e..fbeed72c6b 100644
--- a/libs/pbd/enums.cc
+++ b/libs/pbd/enums.cc
@@ -41,7 +41,7 @@ setup_libpbd_enums ()
REGISTER_CLASS_ENUM (Controllable, GainLike);
REGISTER_CLASS_ENUM (Controllable, RealTime);
REGISTER_CLASS_ENUM (Controllable, NotAutomatable);
- REGISTER (controllable_flags);
+ REGISTER_BITS (controllable_flags);
REGISTER_CLASS_ENUM (Controllable, InverseGroup);
REGISTER_CLASS_ENUM (Controllable, UseGroup);