summaryrefslogtreecommitdiffstats
path: root/macosx/HBRange.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-30 07:13:07 +0000
committerritsuka <[email protected]>2014-12-30 07:13:07 +0000
commite85690352f677b49355633570ae1b34bb953f411 (patch)
treea5422a1bfa4af11f903cd69ea4d62765ce9f844e /macosx/HBRange.m
parent30d1c1cc1e7db5336ba614947dfecb54b453917d (diff)
MacGui: fix a bunch of regressions (various crash when in some textfields, encode log going to the wrong directory).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6676 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBRange.m')
-rw-r--r--macosx/HBRange.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/HBRange.m b/macosx/HBRange.m
index b176c872f..bd0e5730c 100644
--- a/macosx/HBRange.m
+++ b/macosx/HBRange.m
@@ -105,6 +105,11 @@
return retval;
}
+- (void)setNilValueForKey:(NSString *)key
+{
+ [self setValue:@0 forKey:key];
+}
+
#pragma mark - NSCopying
- (instancetype)copyWithZone:(NSZone *)zone