Fix names and languages not begin set.

This commit is contained in:
Damiano Galassi committed 2016-10-24 12:42:34 +02:00
1 parent 8b8946993a
commit 43b18eb44e
3 files changed
+5 -5

No files matched your search

@@ -206,7 +206,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<popUpButton fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="qw4-1W-PfZ">
<rect key="frame" x="2" y="-4" width="317" height="22"/>
<rect key="frame" x="2" y="-2" width="317" height="18"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<popUpButtonCell key="cell" type="bevel" title="Item 1" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" selectedItem="kck-SY-U5v" id="2kU-ds-PXt">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -252,7 +252,7 @@
<rect key="frame" x="122" y="68" width="322" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<comboBox verticalHuggingPriority="750" fixedFrame="YES" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="LbC-r6-Pau">
<comboBox verticalHuggingPriority="750" fixedFrame="YES" preferredMaxLayoutWidth="1000" translatesAutoresizingMaskIntoConstraints="NO" id="LbC-r6-Pau">
<rect key="frame" x="3" y="1" width="319" height="19"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<comboBoxCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="left" title="Combo Text" usesSingleLineMode="YES" buttonBordered="NO" completes="NO" numberOfVisibleItems="5" id="jkg-xz-Hbn">
+2 -2
View File
@@ -585,7 +585,7 @@ static NSDictionary *_detailMonospacedAttr;
NSInteger row = [self.tracksTable rowForView:sender];
MP42Track *track = [self trackAtAtTableRow:row];
if (track && [sender.stringValue isEqualToString:track.name]) {
if (track && ![sender.stringValue isEqualToString:track.name]) {
track.name = sender.stringValue;
[self updateChangeCount:NSChangeDone];
}
@@ -604,7 +604,7 @@ static NSDictionary *_detailMonospacedAttr;
NSInteger row = [self.tracksTable rowForView:sender];
MP42Track *track = [self trackAtAtTableRow:row];
if (track && [sender.stringValue isEqualToString:track.name]) {
if (track && ![sender.stringValue isEqualToString:track.name]) {
track.language = sender.stringValue;
[self updateChangeCount:NSChangeDone];
}
+1 -1
View File
@@ -330,7 +330,7 @@
}
- (NSString *)description {
return NSLocalizedString(@"Fixi Fallbacks", @"Action description.");
return NSLocalizedString(@"Fix Fallbacks", @"Action description.");
}
- (NSString *)localizedDescription {