aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/src
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-03-07 22:39:20 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2014-03-07 22:39:20 +0100
commit7b1e3fef1938e7b37986a5773cff1339fe8a5514 (patch)
tree0fa39181888e6c8d6761516e651f659ddd94cb96 /OpenPGP-Keychain/src
parentdef9e5a492b04e42b8ebeb9c4189ccb655c8b1a9 (diff)
parentdd80ddd6f95d7f659929a49d3bff62492692c4fa (diff)
downloadopen-keychain-7b1e3fef1938e7b37986a5773cff1339fe8a5514.tar.gz
open-keychain-7b1e3fef1938e7b37986a5773cff1339fe8a5514.tar.bz2
open-keychain-7b1e3fef1938e7b37986a5773cff1339fe8a5514.zip
Merge pull request #367 from hav3n/branch-fixes
Fix for #347
Diffstat (limited to 'OpenPGP-Keychain/src')
-rw-r--r--OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/KeyListPublicFragment.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/KeyListPublicFragment.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/KeyListPublicFragment.java
index f14fadd77..1938883a1 100644
--- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/KeyListPublicFragment.java
+++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/KeyListPublicFragment.java
@@ -370,6 +370,9 @@ public class KeyListPublicFragment extends Fragment implements SearchView.OnQuer
public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) {
// Get the searchview
MenuItem searchItem = menu.findItem(R.id.menu_key_list_public_search);
+ MenuItem addContactItem = menu.findItem(R.id.menu_key_list_public_import);
+
+ addContactItem.setVisible(false);//Hide Add Contacts Icon
mSearchView = (SearchView) MenuItemCompat.getActionView(searchItem);
// Execute this when searching