mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
SPARK-1375 fix right click menu when privacy list is active and multiple users are selected
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12494 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
committed by
holger.bergunde
parent
c1c3e9793c
commit
6d8acb7bdf
@ -127,6 +127,8 @@ public class PrivacyPlugin implements Plugin {
|
||||
@Override
|
||||
public void poppingUp(Object object, JPopupMenu popup) {
|
||||
|
||||
if (object instanceof ContactItem)
|
||||
{
|
||||
final PrivacyManager pManager = PrivacyManager.getInstance();
|
||||
|
||||
if (pManager.hasActiveList())
|
||||
@ -172,6 +174,7 @@ public class PrivacyPlugin implements Plugin {
|
||||
popup.add(blockMenu);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void poppingDown(JPopupMenu popup) {
|
||||
|
||||
Reference in New Issue
Block a user