Skip to content

Commit

Permalink
Fix search box not finding first result when closing.
Browse files Browse the repository at this point in the history
  • Loading branch information
emsquared committed Jul 4, 2012
1 parent ddec015 commit d656bf3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Classes/Controllers/TXMenuController.m
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,9 @@ - (void)_onWantFindPanel:(id)sender
self.currentSearchPhrase = newPhrase;
}

[[self.iomt currentWebView] searchFor:newPhrase direction:YES caseSensitive:NO wrap:YES];
dispatch_async(dispatch_get_main_queue(), ^{
[[self currentWebView] searchFor:newPhrase direction:YES caseSensitive:NO wrap:YES];
});
}
}

Expand Down
4 changes: 2 additions & 2 deletions Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<key>TXBundleBuildCodeName</key>
<string>Turtle Soup</string>
<key>TXBundleBuildNumber</key>
<string>11752</string>
<string>11755</string>
<key>TXBundleBuildReference</key>
<string>2.1.1-224-gcf9b5f2-debug,llvm4.0</string>
<string>2.1.1-225-gddec015-debug,llvm4.0</string>
</dict>
</plist>

0 comments on commit d656bf3

Please sign in to comment.