Skip to content

Commit

Permalink
Merge pull request #205 from penguinho/master
Browse files Browse the repository at this point in the history
Fix Record Button Crash on Mavericks
  • Loading branch information
penguinho committed Dec 12, 2013
2 parents 8fb39ea + eab62da commit b88b0db
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 40 deletions.
2 changes: 1 addition & 1 deletion Appium/Appium-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.12.2</string>
<string>0.12.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>LSApplicationCategoryType</key>
Expand Down
6 changes: 4 additions & 2 deletions Appium/Inspector/AppiumInspectorWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ - (id)initWithWindow:(NSWindow *)window
if (self) {

AppiumModel *model = [(AppiumAppDelegate*)[[NSApplication sharedApplication] delegate] model];

self.driver = [[SERemoteWebDriver alloc] initWithServerAddress:[model ipAddress] port:[[model port] integerValue]];
if (self.driver == nil)
{
Expand Down Expand Up @@ -83,8 +84,9 @@ - (id)initWithWindow:(NSWindow *)window
-(void) windowDidLoad
{
[super windowDidLoad];

// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.

// fix crash for pulse animation on record button
[self.recordButton setLayerUsesCoreImageFilters:YES];
}

-(void) awakeFromNib
Expand Down
Loading

0 comments on commit b88b0db

Please sign in to comment.