-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
this should fix:
http://kdenlive.org/mantis/view.php?id=1547

regards ttill
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku9tbIACgkQzwEyz7QP6nTgmwCgy1VfFvAKtEUQ0PRweo8vf9uE
OFsAnj5YfFjR/wVbjz/su0sOJNPSk39v
=H7fx
-----END PGP SIGNATURE-----
Index: src/customtrackview.cpp
===================================================================
--- src/customtrackview.cpp	(revision 4375)
+++ src/customtrackview.cpp	(working copy)
@@ -5240,8 +5240,9 @@
     d.track_nb->setValue(ix);
     d.slotUpdateName(ix);
     d.setWindowTitle(i18n("Change Track Type"));
-
-    if (m_document->trackInfoAt(m_document->tracksCount() - ix - 1).type == VIDEOTRACK)
+    
+    TrackInfo oldInfo = m_document->trackInfoAt(m_document->tracksCount() - ix - 1);
+    if (oldInfo.type == VIDEOTRACK)
         d.video_track->setChecked(true);
     else
         d.audio_track->setChecked(true);
@@ -5250,6 +5251,7 @@
         TrackInfo info;
         info.isLocked = false;
         info.isMute = false;
+        info.trackName = oldInfo.trackName;
         ix = d.track_nb->value();
 
         if (d.video_track->isChecked()) {
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Kdenlive-devel mailing list
Kdenlive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to