Add "Change Description" to the client menu
Offered for our own client as well as others, with TS3's edit icon. The description is read back from the server before prompting, since the model only carries one for clients whose info has been looked at. Note that client_description is not a clientupdate property even for ourselves — the server only takes it through clientedit — and that our own change is not echoed back to us, so the local entry is updated here. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -65,6 +65,9 @@ final class ClientMenu {
|
||||
findInTree.addActionListener(a -> actions.findClientInTree(client));
|
||||
menu.add(findInTree);
|
||||
}
|
||||
JMenuItem description = new JMenuItem("Change Description", Icons.of("EDIT"));
|
||||
description.addActionListener(a -> actions.changeClientDescription(client));
|
||||
menu.add(description);
|
||||
JMenuItem info = new JMenuItem("Connection Info", Icons.of("INFO"));
|
||||
info.addActionListener(a -> actions.showConnectionInfo(client));
|
||||
menu.add(info);
|
||||
|
||||
Reference in New Issue
Block a user