mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
fix(wx): quick mode not activating dfu sequence
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -202,6 +202,8 @@ void DfuPanel::SetDeviceState(const DeviceState& state)
|
||||
|
||||
void DfuPanel::OnShow(wxShowEvent& event)
|
||||
{
|
||||
DevicePanel::OnShow(event);
|
||||
|
||||
if (event.IsShown())
|
||||
{
|
||||
if (palerain_flags & palerain_option_quick) {
|
||||
@@ -212,8 +214,6 @@ void DfuPanel::OnShow(wxShowEvent& event)
|
||||
StartSequence(m_sequence);
|
||||
}
|
||||
}
|
||||
|
||||
DevicePanel::OnShow(event);
|
||||
}
|
||||
|
||||
void DfuPanel::LoadDevice(const std::string& productType)
|
||||
|
||||
Reference in new issue
Block a user