summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput/macsrc/MappingCell.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFInput/macsrc/MappingCell.m')
-rwxr-xr-xmacosx/plugins/DFInput/macsrc/MappingCell.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/macosx/plugins/DFInput/macsrc/MappingCell.m b/macosx/plugins/DFInput/macsrc/MappingCell.m
index a61e9087..164f8db3 100755
--- a/macosx/plugins/DFInput/macsrc/MappingCell.m
+++ b/macosx/plugins/DFInput/macsrc/MappingCell.m
@@ -26,8 +26,10 @@
@implementation MappingCell
- (id)initTextCell:(NSString *)aString {
- self = [super initTextCell:aString];
- [self setEditable:NO];
+ if (self = [super initTextCell:aString]) {
+ [self setEditable:NO];
+ }
+
return self;
}