summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-04-19 20:38:07 +0000
committersr55 <[email protected]>2011-04-19 20:38:07 +0000
commit568c83aa4e4a268ca817d8f1478f4cc23490976e (patch)
treed9f4a64555a440374bf9b768346cd350662d0977 /win/CS/HandBrake.ApplicationServices
parent33250318b54bd6552d8e8dd1f26aad073d94e34c (diff)
WinGui:
- 2 Exceptions fixed. (Removing a preset failed and After scan, audio panel would crash) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3941 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs
index b9ecca97d..1c688e79e 100644
--- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs
+++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs
@@ -83,7 +83,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding
{
get
{
- return this.ScannedTrack.ToString();
+ return this.ScannedTrack == null ? string.Empty : this.ScannedTrack.ToString();
}
}