mirror of
https://github.com/abdelkader/vCardEditor
synced 2025-12-12 08:27:19 +07:00
Fixed IndexOutOfRange exception when trying to search
Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
@@ -95,6 +95,7 @@ namespace vCardEditor.View
|
||||
|
||||
public void DisplayContacts(SortableBindingList<Contact> contacts)
|
||||
{
|
||||
bsContacts.DataSource = null;
|
||||
if (contacts != null)
|
||||
bsContacts.DataSource = contacts;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user