temporary fix for issue 257

This commit is contained in:
Benjamin Steinwender
2014-11-05 21:26:14 +01:00
parent 5d0cb54b28
commit 6280b5150b

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];