Skip to content

Commit

Permalink
Prevent adding search field repeatedly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Chen committed Sep 1, 2014
1 parent bd9991d commit 207220e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion MCLog/MCLog-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.22</string>
<string>1.23</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 4 additions & 0 deletions MCLog/MCLog.m
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ - (BOOL)addCustomViews
return NO;
}

if ([scopeBarView viewWithTag:kTagSearchField]) {
return YES;
}

NSRect frame = button.frame;
frame.origin.x -= button.frame.size.width + 205;
frame.size.width = 200.0;
Expand Down

0 comments on commit 207220e

Please sign in to comment.