aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/gui/population/FunctionSelector.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jcgp/gui/population/FunctionSelector.java')
-rw-r--r--src/jcgp/gui/population/FunctionSelector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jcgp/gui/population/FunctionSelector.java b/src/jcgp/gui/population/FunctionSelector.java
index 28eb54d..69d0d31 100644
--- a/src/jcgp/gui/population/FunctionSelector.java
+++ b/src/jcgp/gui/population/FunctionSelector.java
@@ -31,7 +31,7 @@ public class FunctionSelector extends VBox {
for (int i = 0; i < fs.getAllowedFunctionCount(); i++) {
final int index = i;
- Label l = new Label(fs.getAllowedFunction(i).getName());
+ Label l = new Label(fs.getAllowedFunction(i).toString());
l.setMaxWidth(Double.MAX_VALUE);
l.setStyle("-fx-background-color: #FFFFFF; -fx-border-color: #A0A0A0; -fx-border-width: 0 0 1 0; -fx-padding: 2");