From: David ‘Bombe’ Roden Date: Thu, 9 Jun 2011 19:58:24 +0000 (+0200) Subject: Change selected node when the port number changes. X-Git-Tag: 0.10-rc1~68 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=204fc48b689d5cf8aa0240ff383f2c4c71c3edaf;p=jSite.git Change selected node when the port number changes. This fixes #185. --- diff --git a/src/de/todesbaum/jsite/gui/NodeManagerPage.java b/src/de/todesbaum/jsite/gui/NodeManagerPage.java index 23fafe6..ed3de05 100644 --- a/src/de/todesbaum/jsite/gui/NodeManagerPage.java +++ b/src/de/todesbaum/jsite/gui/NodeManagerPage.java @@ -442,6 +442,7 @@ public class NodeManagerPage extends TWizardPage implements ListSelectionListene JSpinner sourceSpinner = (JSpinner) source; if ("node-port".equals(sourceSpinner.getName())) { selectedNode.setPort((Integer) sourceSpinner.getValue()); + fireNodeSelected(selectedNode); nodeList.repaint(); } }