C2024-047 Security Dialog
shouldn’t be bringing up a menu in the Group box unless a user is 1st selected in the Users box.
This commit is contained in:
@@ -418,7 +418,7 @@ namespace VEPROMS
|
|||||||
cmMembers.Items.Clear();
|
cmMembers.Items.Clear();
|
||||||
lstGroups.SelectedIndex = -1;
|
lstGroups.SelectedIndex = -1;
|
||||||
|
|
||||||
if (e.Button == MouseButtons.Right)
|
if (e.Button == MouseButtons.Right && lstUsers.SelectedIndex > -1)
|
||||||
{
|
{
|
||||||
int k = lstGroups.IndexFromPoint(e.Location);
|
int k = lstGroups.IndexFromPoint(e.Location);
|
||||||
if (k >= 0)
|
if (k >= 0)
|
||||||
|
Reference in New Issue
Block a user