Merge pull request #259 from auge/issue257

temporary fix for issue #257
This commit is contained in:
Michael Starke
2014-11-05 23:45:14 +01:00

View File

@@ -373,8 +373,9 @@ NSString *const _MPTableSecurCellView = @"PasswordCell";
} }
/* /*
If a group is the current item, see if we already show that group If a group is the current item, see if we already show that group
also test if an element has been selected (issue #257)
*/ */
if(document.selectedItem == document.selectedGroup) { if(document.selectedItem == document.selectedGroup && document.selectedItem != nil) {
if(document.hasSearch) { if(document.hasSearch) {
/* If search was active, stop it and exit */ /* If search was active, stop it and exit */
[document exitSearch:self]; [document exitSearch:self];