Commit 42701f39 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Disable stem audio export if export audio is disabled

BUG: 102591
parent 9869d0b0
......@@ -2460,6 +2460,7 @@ void RenderWidget::slotUpdateAudioLabel(int ix)
m_view.export_audio->setText(i18n("Export audio (automatic)"));
else
m_view.export_audio->setText(i18n("Export audio"));
m_view.stemAudioExport->setEnabled(ix != Qt::Unchecked);
}
bool RenderWidget::automaticAudioExport() const
......@@ -2485,7 +2486,7 @@ bool RenderWidget::proxyRendering()
bool RenderWidget::isStemAudioExportEnabled() const
{
return (m_view.stemAudioExport->isChecked()
&& m_view.stemAudioExport->isVisible());
&& m_view.stemAudioExport->isVisible() && m_view.stemAudioExport->isEnabled());
}
void RenderWidget::setRescaleEnabled(bool enable)
......
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