From adcd580d5b0fc7187f4028187047de8111bc042e Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 3 Jul 2021 19:06:15 -0400 Subject: [PATCH] Ensure LEDs are cleared upon a new machine. --- OSBindings/Qt/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/OSBindings/Qt/mainwindow.cpp b/OSBindings/Qt/mainwindow.cpp index e29ed0b86..7851dcfde 100644 --- a/OSBindings/Qt/mainwindow.cpp +++ b/OSBindings/Qt/mainwindow.cpp @@ -1309,6 +1309,7 @@ void MainWindow::restoreSelections() { // MARK: - Activity observation void MainWindow::addActivityObserver() { + ledStatuses.clear(); auto activitySource = machine->activity_source(); if(!activitySource) return;