This commit is contained in:
michael starke
2014-04-23 14:34:42 +02:00
3 changed files with 11 additions and 4 deletions

View File

@@ -580,9 +580,14 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGroupKey
switch([MPActionHelper typeForAction:[anItem action]]) {
case MPActionAddGroup:
valid &= (nil != self.selectedGroup);
// fall-through
valid &= (self.trash != self.selectedGroup);
valid &= ![self isItemTrashed:self.selectedGroup];
break;
case MPActionAddEntry:
// fall-through
valid &= (nil != self.selectedGroup);
valid &= (self.trash != self.selectedGroup);
valid &= ![self isItemTrashed:self.selectedGroup];
break;
case MPActionDelete:
valid &= (nil != self.selectedItem);
valid &= (self.trash != self.selectedItem);

View File

@@ -61,7 +61,9 @@ It is able to read and write database version 1 and 2. Not all database features
## Help
You might get help in the IRC channel [#macpass](irc://irc.freenode.org/macpass) on [irc.freenode.org](irc://irc.freenode.org)
Some questions might be ansered in the [FAQ](https://github.com/mstarke/MacPass/wiki/FAQ)
Another place to look is the IRC channel [#macpass](irc://irc.freenode.org/macpass) on [irc.freenode.org](irc://irc.freenode.org)
##License