vtl: fix small issue with video source file on export
authorRobin Gareus <robin@gareus.org>
Tue, 3 Sep 2013 23:36:46 +0000 (01:36 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 3 Sep 2013 23:36:46 +0000 (01:36 +0200)
gtk2_ardour/export_video_dialog.cc

index 48d09065b71ad4ca2b11c23e5284e9b1360831ec..cd45bb368ed25179f0e3588b1032ea53d3a263e4 100644 (file)
@@ -165,7 +165,7 @@ ExportVideoDialog::ExportVideoDialog (PublicEditor& ed, Session* s)
                                filenameset = true;
                        }
                }
-               else if (!filenameset
+               if (!filenameset
                                && node->property(X_("Filename"))
                                && node->property(X_("LocalFile"))
                                && node->property(X_("LocalFile"))->value() == X_("1")
@@ -179,6 +179,9 @@ ExportVideoDialog::ExportVideoDialog (PublicEditor& ed, Session* s)
                                filenameset = true;
                        }
                }
+               if (!filenameset) {
+                       invid_path_entry.set_text (X_(""));
+               }
        }
 
        l = manage (new Label (_("<b>Settings:</b>"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));