mirror of
https://github.com/palera1n/palera1n.git
synced 2026-12-06 16:24:54 +01: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)
|
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)
|
||||||
|
|||||||
Reference in new issue
Block a user