Commit fbb6ebf8 authored by Julius Künzel's avatar Julius Künzel
Browse files

[Render Presets] Always disable "Scanning" properly if "Progressive"

parent a3b8301d
Pipeline #152765 passed with stage
in 5 minutes and 30 seconds
......@@ -111,6 +111,11 @@ RenderPresetDialog::RenderPresetDialog(QWidget *parent, RenderPresetModel *prese
slotUpdateParams();
});
connect(scanningCombo, &QComboBox::currentTextChanged, this, [&](){
fieldOrderCombo->setEnabled(scanningCombo->currentIndex() != 1);
slotUpdateParams();
});
groupName->addItems(RenderPresetRepository::get()->groupNames());
std::unique_ptr<ProfileModel> &projectProfile = pCore->getCurrentProfile();
......@@ -320,10 +325,7 @@ RenderPresetDialog::RenderPresetDialog(QWidget *parent, RenderPresetModel *prese
connect(formatCombo, &QComboBox::currentTextChanged, this, &RenderPresetDialog::slotUpdateParams);
connect(vCodecCombo, &QComboBox::currentTextChanged, this, &RenderPresetDialog::slotUpdateParams);
connect(scanningCombo, &QComboBox::currentTextChanged, this, [&](){
fieldOrderCombo->setEnabled(scanningCombo->currentIndex() != 1);
slotUpdateParams();
});
connect(fieldOrderCombo, &QComboBox::currentTextChanged, this, &RenderPresetDialog::slotUpdateParams);
connect(aCodecCombo, &QComboBox::currentTextChanged, this, &RenderPresetDialog::slotUpdateParams);
connect(resWidth, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &RenderPresetDialog::slotUpdateParams);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment