1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-23 20:29:42 +00:00

Ensure LEDs are cleared upon a new machine.

This commit is contained in:
Thomas Harte 2021-07-03 19:06:15 -04:00
parent 5715c9183f
commit adcd580d5b

View File

@ -1309,6 +1309,7 @@ void MainWindow::restoreSelections() {
// MARK: - Activity observation
void MainWindow::addActivityObserver() {
ledStatuses.clear();
auto activitySource = machine->activity_source();
if(!activitySource) return;