Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
frmContactEditor: Stop crashing when pressing Modify/Delete buttons when there's...
[xestiaab/.git] / source / contacteditor / frmContactEditor-Groups.cpp
index f3af6a7..b3e5f10 100644 (file)
@@ -57,7 +57,7 @@ void frmContactEditor::DeleteGroup( wxCommandEvent& event )
        long longSelected = -1;
        int intSelectedData = 0;
     
-       if (!GetSelectedItem(lboGroups,
+       if (lboGroups->GetItemCount() == 0 || !GetSelectedItem(lboGroups,
                &longSelected,
                &intSelectedData)){
                return;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy