Fix reversed behaviour of Playlist -> New and New Copy
authorTim Mayberry <mojofunk@gmail.com>
Mon, 28 Nov 2016 00:59:32 +0000 (10:59 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Mon, 28 Nov 2016 00:59:32 +0000 (10:59 +1000)
Resolves: #7146

Thanks again to elgoun for the patch

gtk2_ardour/route_time_axis.cc

index 24ed6bd556e2fda111f88d69605477271c7389bd..c4326d51d714df2ec4e594873ff6aba267fc8091 100644 (file)
@@ -1243,9 +1243,9 @@ RouteTimeAxisView::use_new_playlist (bool prompt, vector<boost::shared_ptr<Playl
 
        if (name.length()) {
                if (copy) {
-                       tr->use_new_playlist ();
-               } else {
                        tr->use_copy_playlist ();
+               } else {
+                       tr->use_new_playlist ();
                }
                tr->playlist()->set_name (name);
        }