]> git.sesse.net Git - kdenlive/commitdiff
Auto-check first entry in Effect Stack for editing in timeline (regression):
authorTill Theato <root@ttill.de>
Sun, 30 Jan 2011 09:12:26 +0000 (09:12 +0000)
committerTill Theato <root@ttill.de>
Sun, 30 Jan 2011 09:12:26 +0000 (09:12 +0000)
http://kdenlive.org/mantis/view.php?id=1992

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

src/keyframeedit.cpp

index fd70c71aa110d924271994363a1de59d366344d0..b93182911e2b01326f972d800643653003e78193 100644 (file)
@@ -464,8 +464,8 @@ void KeyframeEdit::checkVisibleParam()
             return;
     }
 
-    slotUpdateVisibleParameter(0, false);
-    QRadioButton *radio = static_cast<QRadioButton*>(m_slidersLayout->itemAtPosition(0, 1)->widget());
+    slotUpdateVisibleParameter(0);
+    QRadioButton *radio = static_cast<QRadioButton*>(m_slidersLayout->itemAtPosition(0, 1)->layout()->itemAt(0)->widget());
     if (radio)
         radio->setChecked(true);
 }