Open text chat by double-clicking a client
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -155,6 +155,8 @@ public final class ServerTreePanel extends JScrollPane {
|
||||
if (SwingUtilities.isLeftMouseButton(e) && e.getClickCount() == 2) {
|
||||
if (obj instanceof ChannelNode && !Spacers.isSpacer(((ChannelNode) obj).name)) {
|
||||
actions.joinChannel(((ChannelNode) obj).id);
|
||||
} else if (obj instanceof ClientEntry) {
|
||||
actions.openPrivateChat((ClientEntry) obj);
|
||||
}
|
||||
} else if (SwingUtilities.isMiddleMouseButton(e) && obj instanceof ClientEntry) {
|
||||
actions.showConnectionInfo((ClientEntry) obj);
|
||||
|
||||
Reference in New Issue
Block a user