Update SettingsWindow.cpp
This commit is contained in:
parent
b9fcad48f0
commit
1740556718
|
@ -1020,6 +1020,9 @@ void CSettingsWindow::LoadSettings()
|
||||||
ui.cmbUsbSandbox->addItem(pBox->GetName().replace("_", " "));
|
ui.cmbUsbSandbox->addItem(pBox->GetName().replace("_", " "));
|
||||||
ui.cmbUsbSandbox->setCurrentText(theAPI->GetGlobalSettings()->GetText("UsbSandbox", "USB_Box").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();
|
UpdateDrives();
|
||||||
|
|
||||||
m_VolumeChanged = false;
|
m_VolumeChanged = false;
|
||||||
|
|
Loading…
Reference in New Issue