Update SettingsWindow.cpp

This commit is contained in:
DavidXanatos 2023-10-26 11:07:00 +02:00
parent b9fcad48f0
commit 1740556718
1 changed files with 3 additions and 0 deletions

View File

@ -1020,6 +1020,9 @@ void CSettingsWindow::LoadSettings()
ui.cmbUsbSandbox->addItem(pBox->GetName().replace("_", " "));
ui.cmbUsbSandbox->setCurrentText(theAPI->GetGlobalSettings()->GetText("UsbSandbox", "USB_Box").replace("_", " "));
ui.cmbUsbSandbox->setEnabled(ui.chkSandboxUsb->isChecked() && g_CertInfo.active);
ui.treeVolumes->setEnabled(ui.chkSandboxUsb->isChecked() && g_CertInfo.active);
UpdateDrives();
m_VolumeChanged = false;