From aa11c478615af25c5a3943928b16b39922cedf73 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 25 Oct 2011 05:22:50 +0000 Subject: [PATCH] Don't take any action if the quick validation drop down is dropped then "Selecte a set" is chosen. --- src/sbbs3/userlist/SBBS_User_ListMain.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sbbs3/userlist/SBBS_User_ListMain.cpp b/src/sbbs3/userlist/SBBS_User_ListMain.cpp index e0a1207f47..ed84b402d1 100644 --- a/src/sbbs3/userlist/SBBS_User_ListMain.cpp +++ b/src/sbbs3/userlist/SBBS_User_ListMain.cpp @@ -310,6 +310,9 @@ void SBBS_User_ListFrame::OnQVChoiceSelect(wxCommandEvent& event) wxArrayInt selections; int set=QVChoice->GetSelection()-1; + if(set<0) + return; + for(;;) { item = UserList->GetNextItem(item, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED); if(item==-1) -- GitLab