13
0

vtl: fix small issue with video source file on export

This commit is contained in:
Robin Gareus 2013-09-04 01:36:46 +02:00
parent 91b027a4a0
commit a6b66f1594

View File

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