projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e19646c
)
use correct property when PresentationInfo::color is set from XML
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 1 Jul 2016 22:14:21 +0000
(18:14 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 1 Jul 2016 22:14:21 +0000
(18:14 -0400)
libs/ardour/presentation_info.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/presentation_info.cc
b/libs/ardour/presentation_info.cc
index 654a80f6cede68415eeaab03d9aae2e91c5ffc98..fe094dae6bb667d5a41311b2d690fe2d9a66cb4a 100644
(file)
--- a/
libs/ardour/presentation_info.cc
+++ b/
libs/ardour/presentation_info.cc
@@
-128,7
+128,7
@@
PresentationInfo::set_state (XMLNode const& node, int /* version */)
if ((prop = node.property (X_("color"))) != 0) {
color_t c = atoi (prop->value());
if (c != _color) {
- pc.add (Properties::
orde
r);
+ pc.add (Properties::
colo
r);
_color = c;
}
}
@@
-175,7
+175,6
@@
PresentationInfo::color_set () const
* this is heuristic, but it is fairly realistic. who will ever set
* a color to completely transparent black? only the constructor ..
*/
-
return _color != 0;
}