stuff
This commit is contained in:
@@ -61,7 +61,13 @@ namespace Password_Manager
|
||||
}
|
||||
|
||||
this.DataSource = elements;
|
||||
SelectedIndex = 0;
|
||||
try
|
||||
{
|
||||
SelectedIndex = 0;
|
||||
} catch (ArgumentOutOfRangeException)
|
||||
{
|
||||
SelectedIndex = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user