UI: Properly disable when scale disabled

Enable/Disable scale output ComboBox based on whether
the scale checkbox is selected.
This commit is contained in:
kc5nra
2015-03-30 17:30:37 -05:00
committed by John Bradley
parent 0976126ebb
commit 8743e722ae
+2
View File
@@ -686,6 +686,7 @@ void OBSBasicSettings::LoadAdvOutputStreamingSettings()
ui->advOutMaxRetries->setValue(maxRetries);
ui->advOutApplyService->setChecked(applyServiceSettings);
ui->advOutUseRescale->setChecked(rescale);
ui->advOutRescale->setEnabled(rescale);
ui->advOutRescale->setCurrentText(rescaleRes);
switch (trackIndex) {
@@ -807,6 +808,7 @@ void OBSBasicSettings::LoadAdvOutputFFmpegSettings()
ui->advOutFFURL->setText(url);
ui->advOutFFVBitrate->setValue(videoBitrate);
ui->advOutFFUseRescale->setChecked(rescale);
ui->advOutFFRescale->setEnabled(rescale);
ui->advOutFFRescale->setCurrentText(rescaleRes);
ui->advOutFFVEncoder->setText(vEncoder);
ui->advOutFFVCfg->setText(vEncCustom);