]> git.sesse.net Git - kdenlive/commitdiff
The transcode menu should not be enabled for images and slideshows:
authorTill Theato <root@ttill.de>
Tue, 4 May 2010 19:00:42 +0000 (19:00 +0000)
committerTill Theato <root@ttill.de>
Tue, 4 May 2010 19:00:42 +0000 (19:00 +0000)
http://kdenlive.org/mantis/view.php?id=1579

svn path=/trunk/kdenlive/; revision=4410

src/projectlist.cpp

index 2d7993338b386e8f90748585785cb2f2590d359a..82a0b68f2471349d7993a125d4c1e8840487b096 100644 (file)
@@ -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;
     }