From 8c2e378e5ef433b99d4dfb9fd25a6330355ad332 Mon Sep 17 00:00:00 2001
From: "Egli Adrian (IT-SCI-API-PFI)" <adrian.egli@sbb.ch>
Date: Wed, 19 Jun 2019 15:10:55 +0200
Subject: [PATCH] bug fix

---
 flatland/utils/editor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flatland/utils/editor.py b/flatland/utils/editor.py
index 6255a5e..9979122 100644
--- a/flatland/utils/editor.py
+++ b/flatland/utils/editor.py
@@ -95,8 +95,8 @@ class View(object):
         # Number of Agents when regenerating
         self.wRegenNAgents = IntSlider(value=1, min=0, max=5, step=1, description="# Agents",
                                        tip="Click regenerate or reset after changing this")
+        self.wRegenMethod = RadioButtons(description="Regen\nMethod", options=["Empty", "Random Cell"])
 
-        self.wRegenMethod = RadioButtons(description="Regen\nMethod", options=["Empty", "Random Cell"])  # , "Path-based"])
         self.wReplaceAgents = Checkbox(value=True, description="Replace Agents")
 
         self.wTab = Tab()
-- 
GitLab