mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-05-22 03:05:16 -04:00
Enable secure boot support option by default.
This commit is contained in:
parent
85d1910722
commit
23bd2d24e9
17 changed files with 8 additions and 5 deletions
|
@ -436,8 +436,7 @@ void Ventoy2DiskWindow::OnInitWindow(void)
|
|||
QPixmap pix2;
|
||||
char ver[512];
|
||||
|
||||
//ui->labelVentoyLocalSecure->hide();
|
||||
ui->actionSecure_Boot_Support->trigger();
|
||||
ui->labelVentoyLocalSecure->hide();
|
||||
|
||||
m_part_group->addAction(ui->actionMBR);
|
||||
m_part_group->addAction(ui->actionGPT);
|
||||
|
@ -473,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);
|
||||
|
@ -665,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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue