projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prefer testing the session instead of using a global variable
[ardour.git]
/
gtk2_ardour
/
io_selector.cc
diff --git
a/gtk2_ardour/io_selector.cc
b/gtk2_ardour/io_selector.cc
index 6d0ede316c7a4240e1b0ebc1f57d39259d3701d3..99050cc34ba0a5a75c728d2cf1da11cdd6004b1c 100644
(file)
--- a/
gtk2_ardour/io_selector.cc
+++ b/
gtk2_ardour/io_selector.cc
@@
-141,15
+141,15
@@
IOSelector::set_state (ARDOUR::BundleChannel c[2], bool s)
return;
}
-
if (s) {
+ if (s) {
if (!f->connected_to (*j)) {
_io->connect (f, *j, 0);
}
-
} else {
+ } else {
if (f->connected_to (*j)) {
_io->disconnect (f, *j, 0);
}
-
}
+ }
}
}
}