From: Till Theato Date: Tue, 4 May 2010 19:00:42 +0000 (+0000) Subject: The transcode menu should not be enabled for images and slideshows: X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=443571319393333364e678266cee05671b3cac18;p=kdenlive The transcode menu should not be enabled for images and slideshows: http://kdenlive.org/mantis/view.php?id=1579 svn path=/trunk/kdenlive/; revision=4410 --- diff --git a/src/projectlist.cpp b/src/projectlist.cpp index 2d799333..82a0b68f 100644 --- a/src/projectlist.cpp +++ b/src/projectlist.cpp @@ -503,7 +503,7 @@ void ProjectList::slotClipSelected() void ProjectList::adjustTranscodeActions(ProjectItem *clip) const { - if (clip == NULL || clip->type() != PROJECTCLIPTYPE || clip->clipType() == COLOR || clip->clipType() == TEXT || clip->clipType() == PLAYLIST) { + if (clip == NULL || clip->type() != PROJECTCLIPTYPE || clip->clipType() == COLOR || clip->clipType() == TEXT || clip->clipType() == PLAYLIST || clip->clipType() == SLIDESHOW || clip->clipType() == IMAGE) { m_transcodeAction->setEnabled(false); return; }