summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <jb@kdenlive.org>2016-12-04 16:44:05 (GMT)
committerJean-Baptiste Mardelle <jb@kdenlive.org>2016-12-04 16:44:05 (GMT)
commit42701f3986ee99f4be470ddd4ab5d2fc8e731fc2 (patch)
tree6e4d04115a66e3ac7a6e9b60f3f75cd34e03c771
parent9869d0b0cd75958cf2de3b53a57d578887dd7ba2 (diff)
Disable stem audio export if export audio is disabled
BUG: 102591
-rw-r--r--src/dialogs/renderwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dialogs/renderwidget.cpp b/src/dialogs/renderwidget.cpp
index 5ff1006..44e029b 100644
--- a/src/dialogs/renderwidget.cpp
+++ b/src/dialogs/renderwidget.cpp
@@ -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)