]> git.sesse.net Git - kdenlive/blobdiff - src/archivewidget.cpp
Fix crash when opening invalid file from command line: http://kdenlive.org/mantis...
[kdenlive] / src / archivewidget.cpp
index 19f28437288d30a6a2a8702dd22352ce605b807f..569d336ac7dd6a02dc33d1e93ef89c45db291252 100644 (file)
@@ -285,6 +285,7 @@ void ArchiveWidget::openArchiveForExtraction()
     if (!isProjectArchive) {
         emit showMessage("dialog-close", i18n("File %1\n is not an archived Kdenlive project", m_extractUrl.path()));
         groupBox->setEnabled(false);
+       buttonBox->button(QDialogButtonBox::Apply)->setEnabled(false);
         return;
     }
     buttonBox->button(QDialogButtonBox::Apply)->setEnabled(true);