From 58c458b46c6c3e91acacf8aa0f4b7abd14eec45d Mon Sep 17 00:00:00 2001 From: CLARATION Date: Mon, 6 Jul 2026 17:55:44 -0700 Subject: [PATCH] fix(wx): handle dfu disconnects properly --- src/wx/DfuPanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/DfuPanel.cpp b/src/wx/DfuPanel.cpp index 267e793..73bd764 100644 --- a/src/wx/DfuPanel.cpp +++ b/src/wx/DfuPanel.cpp @@ -167,7 +167,7 @@ void DfuPanel::SetDeviceState(const DeviceState& state) GetMainFrame()->ShowMain(); } - if (!state.connected) + if (!m_isEnteringDfu && !state.connected) { m_isEnteringDfu = false; m_backButton->Enable();