projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5700d10
)
Fix setup of gain envelope visible menu item.
author
Carl Hetherington
<carl@carlh.net>
Wed, 7 Dec 2011 18:18:46 +0000
(18:18 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Wed, 7 Dec 2011 18:18:46 +0000
(18:18 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10939
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_selection.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_selection.cc
b/gtk2_ardour/editor_selection.cc
index 5c7fcb3d9c4a5bedb1f6d7682f01e0d3c2c2acd8..57db35ccf3ec211acea4283d1c891f6cebac308a 100644
(file)
--- a/
gtk2_ardour/editor_selection.cc
+++ b/
gtk2_ardour/editor_selection.cc
@@
-1045,12
+1045,16
@@
Editor::sensitize_the_right_region_actions ()
its current setting.
*/
- have_envelope_invisible =
tru
e;
+ have_envelope_invisible =
fals
e;
if (*i) {
AudioRegionView* arv = dynamic_cast<AudioRegionView*> (*i);
- if (arv && arv->envelope_visible()) {
- have_envelope_visible = true;
+ if (arv) {
+ if (arv->envelope_visible()) {
+ have_envelope_visible = true;
+ } else {
+ have_envelope_invisible = true;
+ }
}
}