summaryrefslogtreecommitdiff
path: root/libs/surfaces/launch_control_xl/launch_control_xl.cc
diff options
context:
space:
mode:
authorTérence Clastres <t.clastres@gmail.com>2018-08-09 22:13:14 +0200
committerTérence Clastres <t.clastres@gmail.com>2018-08-09 22:13:14 +0200
commit740e075803886fe12c3662a28ba596844efb4446 (patch)
tree85e494ee496b36505f8bdfab85608ad6e170effb /libs/surfaces/launch_control_xl/launch_control_xl.cc
parent5276a9941be3a841c6842a36f1e68c10d9454563 (diff)
Turn off button led if it doesn't control a stripable
Diffstat (limited to 'libs/surfaces/launch_control_xl/launch_control_xl.cc')
-rw-r--r--libs/surfaces/launch_control_xl/launch_control_xl.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/surfaces/launch_control_xl/launch_control_xl.cc b/libs/surfaces/launch_control_xl/launch_control_xl.cc
index 699e7a84b5..0881d0647e 100644
--- a/libs/surfaces/launch_control_xl/launch_control_xl.cc
+++ b/libs/surfaces/launch_control_xl/launch_control_xl.cc
@@ -863,11 +863,9 @@ LaunchControlXL::switch_bank (uint32_t base)
if (stripable[n]->rec_enable_control()) {
stripable[n]->rec_enable_control()->Changed.connect (stripable_connections, MISSING_INVALIDATOR, boost::bind (&LaunchControlXL::rec_changed, this, n), lcxl);
}
-
-
- button_track_focus(n);
- button_track_mode(track_mode());
}
+ button_track_focus(n);
+ button_track_mode(track_mode());
}
}