Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preferences window crush #13

Open
antonkuzmin opened this issue Mar 2, 2014 · 1 comment
Open

Preferences window crush #13

antonkuzmin opened this issue Mar 2, 2014 · 1 comment

Comments

@antonkuzmin
Copy link

Line 18: self.tfAdbPath.stringValue = [[NSUserDefaults standardUserDefaults] objectForKey:PREFS_ADB_PATH];

if [[NSUserDefaults standardUserDefaults] objectForKey:PREFS_ADB_PATH] returns nil, application crushes.

My workaround:
if([[NSUserDefaults standardUserDefaults] objectForKey:PREFS_ADB_PATH] != nil) {
self.tfAdbPath.stringValue = [[NSUserDefaults standardUserDefaults] objectForKey:PREFS_ADB_PATH];
}

@aramazhari
Copy link

The preference windows disappear after switching between tabs. I tried this on Mavericks and Yosemite and both have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants