Skip to content

Commit

Permalink
fix final issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nxi committed Sep 3, 2024
1 parent 423c15f commit 174153d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public int compare(ISicsController o1,
String id = item.getId();
String label = id;
String nickname = null;
final String path = item.getPath();
List<String> nickList = item.getPropertyValue("nick");
if (nickList != null && nickList.size() > 0) {
nickname = nickList.get(0).trim();
Expand Down Expand Up @@ -97,7 +98,7 @@ public int compare(ISicsController o1,
@Override
public void updateValue(Object oldValue, Object newValue) {
String newTitle = prefix + "(" + newValue.toString() + ")";
setDeviceTitle(item.getPath(), newTitle);
setDeviceTitle(path, newTitle);
}
});
}
Expand Down

0 comments on commit 174153d

Please sign in to comment.