Skip to content

Commit 207220e

Browse files
author
Michael Chen
committed
Prevent adding search field repeatedly.
1 parent bd9991d commit 207220e

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

MCLog/MCLog-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>BNDL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.22</string>
20+
<string>1.23</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>

MCLog/MCLog.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ - (BOOL)addCustomViews
119119
return NO;
120120
}
121121

122+
if ([scopeBarView viewWithTag:kTagSearchField]) {
123+
return YES;
124+
}
125+
122126
NSRect frame = button.frame;
123127
frame.origin.x -= button.frame.size.width + 205;
124128
frame.size.width = 200.0;

0 commit comments

Comments
 (0)