diff --git a/src/pattypan/panes/ChooseColumnsPane.java b/src/pattypan/panes/ChooseColumnsPane.java index 5a104e7..c3e47c4 100644 --- a/src/pattypan/panes/ChooseColumnsPane.java +++ b/src/pattypan/panes/ChooseColumnsPane.java @@ -51,6 +51,8 @@ public class ChooseColumnsPane extends WikiPane { VBox rightContainer = new VBox(4); Hyperlink wikicodeLink; + Hyperlink prevLabel = null; + VBox wikicodePane = new VBox(10); TextArea wikicodeText = new TextArea(""); @@ -108,6 +110,12 @@ private WikiPane setContent() { Session.METHOD = "template"; Session.TEMPLATE = key; showTemplateFieldsChoose(Session.TEMPLATE); + if (prevLabel != null) { + prevLabel.getStyleClass().remove("bold"); + } + prevLabel = label; + prevLabel.getStyleClass().add("bold"); + }); rightContainer.getChildren().add(label); });