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:
2025-10-21 14:47:30 -04:00
parent ff3daff15a
commit 410b7d3dd6

View File

@@ -418,7 +418,7 @@ namespace VEPROMS
cmMembers.Items.Clear();
lstGroups.SelectedIndex = -1;
if (e.Button == MouseButtons.Right)
if (e.Button == MouseButtons.Right && lstUsers.SelectedIndex > -1)
{
int k = lstGroups.IndexFromPoint(e.Location);
if (k >= 0)