projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1398dd8
)
Consistent button visibility (mixer-strips + VCAs)
author
Robin Gareus
<robin@gareus.org>
Wed, 26 Apr 2017 22:25:57 +0000
(
00:25
+0200)
committer
Robin Gareus
<robin@gareus.org>
Wed, 26 Apr 2017 22:25:57 +0000
(
00:25
+0200)
gtk2_ardour/vca_master_strip.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/vca_master_strip.cc
b/gtk2_ardour/vca_master_strip.cc
index aa4709ca793ada9f22ffe5651d9ab6cedd5270d5..40b2a081030cfb549f92e8feccbf85e919e67760 100644
(file)
--- a/
gtk2_ardour/vca_master_strip.cc
+++ b/
gtk2_ardour/vca_master_strip.cc
@@
-230,6
+230,11
@@
VCAMasterStrip::update_bottom_padding ()
output_button.set_name ("mixer strip button");
comment_button.set_name ("generic button");
+ if (viz.find ("VCA") == std::string::npos) {
+ control_slave_ui.hide ();
+ } else {
+ control_slave_ui.show ();
+ }
int h = 1;
if (1) {