Preferences/Source: fixed disabled RGBD Images source

This commit is contained in:
matlabbe
2016-08-09 17:13:08 -04:00
parent a824b24058
commit 28462bb2b5

View File

@@ -246,7 +246,6 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) :
}
if (!CameraStereoZed::available())
{
_ui->comboBox_cameraRGBD->setItemData(7, 0, Qt::UserRole - 1);
_ui->comboBox_cameraStereo->setItemData(4, 0, Qt::UserRole - 1);
}
_ui->openni2_exposure->setEnabled(CameraOpenNI2::exposureGainAvailable());