0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00

UI: Make "output mode" label disabled if active

I had previous made the output mode list box become disabled, but
neglected to do it for the label as well.
This commit is contained in:
jp9000 2015-03-12 08:49:07 -07:00
parent 21b8e6462b
commit 7bd85233cc
2 changed files with 2 additions and 1 deletions

View File

@ -271,7 +271,7 @@
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_16">
<widget class="QLabel" name="outputModeLabel">
<property name="minimumSize">
<size>
<width>170</width>

View File

@ -831,6 +831,7 @@ void OBSBasicSettings::LoadOutputSettings()
if (video_output_active(obs_get_video())) {
ui->outputMode->setEnabled(false);
ui->outputModeLabel->setEnabled(false);
ui->advOutTopContainer->setEnabled(false);
ui->advOutRecTopContainer->setEnabled(false);
ui->advOutRecTypeContainer->setEnabled(false);