fix(wx): quick mode not activating dfu sequence

This commit is contained in:
CLARATION committed 2026-07-31 20:56:58 -07:00
1 parent 2d7882051e
commit 7ed291dd46
1 file changed
+2 -2
+2 -2
View File
@@ -202,6 +202,8 @@ void DfuPanel::SetDeviceState(const DeviceState& state)
void DfuPanel::OnShow(wxShowEvent& event) void DfuPanel::OnShow(wxShowEvent& event)
{ {
DevicePanel::OnShow(event);
if (event.IsShown()) if (event.IsShown())
{ {
if (palerain_flags & palerain_option_quick) { if (palerain_flags & palerain_option_quick) {
@@ -212,8 +214,6 @@ void DfuPanel::OnShow(wxShowEvent& event)
StartSequence(m_sequence); StartSequence(m_sequence);
} }
} }
DevicePanel::OnShow(event);
} }
void DfuPanel::LoadDevice(const std::string& productType) void DfuPanel::LoadDevice(const std::string& productType)