SPARK-1021 Default to Name field as nickname when adding a contact

This commit is contained in:
wroot
2016-10-23 12:50:55 +03:00
parent 4c4d47ec45
commit e7b6b9bd31

View File

@ -148,11 +148,11 @@ public class UserSearchResults extends JPanel {
TableColumn column = null;
try {
column = resultsTable.getColumn("Username");
column = resultsTable.getColumn("Name");
}
catch (Exception ex) {
try {
column = resultsTable.getColumn("nick");
column = resultsTable.getColumn("Username");
}
catch (Exception e1) {
// Nothing to do