[SCM] calf/master: Use the command-line specified filename as current if load operation succeeded.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:13 UTC 2013


The following commit has been merged in the master branch:
commit 47c65ecb92122cceb60c6c68dc1290868bc808ff
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sun May 9 09:26:06 2010 +0100

    Use the command-line specified filename as current if load operation succeeded.

diff --git a/src/host_session.cpp b/src/host_session.cpp
index 4234e24..dadc143 100644
--- a/src/host_session.cpp
+++ b/src/host_session.cpp
@@ -291,7 +291,10 @@ void host_session::connect()
             gtk_widget_destroy (widget);
             
             g_free(error);
+            load_name = "";
         }
+        else
+            main_win->current_filename = load_name;
     }
     if (session_manager)
         session_manager->connect("calf-" + client_name);

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list