Disable creation of chapters file when no guide is present

svn path=/trunk/kdenlive/; revision=3388
parent 38ce31a4
......@@ -225,7 +225,11 @@ void RenderWidget::setGuides(QDomElement guidesxml, double duration)
if (nodes.count() > 0) {
m_view.guide_start->addItem(i18n("Render"), "0");
m_view.render_guide->setEnabled(true);
} else m_view.render_guide->setEnabled(false);
m_view.create_chapter->setEnabled(true);
} else {
m_view.render_guide->setEnabled(false);
m_view.create_chapter->setEnabled(false);
}
for (int i = 0; i < nodes.count(); i++) {
QDomElement e = nodes.item(i).toElement();
if (!e.isNull()) {
......
Markdown is supported
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