[longomatch] Fix exception when the output dir is not set
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix exception when the output dir is not set
- Date: Sat, 12 Oct 2013 17:17:43 +0000 (UTC)
commit 63a59f98ee77b50473f7807445478ff60eeee9a7
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sat Oct 12 18:40:00 2013 +0200
Fix exception when the output dir is not set
LongoMatch.GUI/Gui/GUIToolkit.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/GUIToolkit.cs b/LongoMatch.GUI/Gui/GUIToolkit.cs
index ebb7800..638ff41 100644
--- a/LongoMatch.GUI/Gui/GUIToolkit.cs
+++ b/LongoMatch.GUI/Gui/GUIToolkit.cs
@@ -137,7 +137,7 @@ namespace LongoMatch.Gui
if (!vep.SplitFiles && vep.EncodingSettings.OutputFile == "") {
WarningMessage(Catalog.GetString("Please, select a video file."));
response=vep.Run();
- } else if (vep.SplitFiles && vep.OutputDir == "") {
+ } else if (vep.SplitFiles && vep.OutputDir == null) {
WarningMessage(Catalog.GetString("Please, select an output
directory."));
response=vep.Run();
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]