X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/d1481392271fd44b04c384a3dd56f3386edadfb3..683101ae1acd8948ecd9fa0d45e649cfb3f7641a:/LinuxGUI/Ventoy2Disk/QT/ventoy2diskwindow.cpp diff --git a/LinuxGUI/Ventoy2Disk/QT/ventoy2diskwindow.cpp b/LinuxGUI/Ventoy2Disk/QT/ventoy2diskwindow.cpp index eac24eb..b0307a2 100644 --- a/LinuxGUI/Ventoy2Disk/QT/ventoy2diskwindow.cpp +++ b/LinuxGUI/Ventoy2Disk/QT/ventoy2diskwindow.cpp @@ -472,6 +472,8 @@ void Ventoy2DiskWindow::OnInitWindow(void) ui->labelVentoyDeviceVer->setText(""); ui->labelVentoyDevicePartStyle->setText(""); + ui->actionSecure_Boot_Support->trigger(); + ui->actionShow_All_Devices->setChecked(ventoy_code_get_cur_show_all()); connect(m_thread, &MyQThread::thread_event, this, &Ventoy2DiskWindow::thread_event); @@ -664,7 +666,7 @@ void Ventoy2DiskWindow::on_comboBoxDevice_currentIndexChanged(int index) } else { - if (ui->actionSecure_Boot_Support->isChecked()) + if (!(ui->actionSecure_Boot_Support->isChecked())) { ui->actionSecure_Boot_Support->trigger(); }