diff options
Diffstat (limited to 'src/graphyx/gui/ControlPanel.scala')
-rw-r--r-- | src/graphyx/gui/ControlPanel.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphyx/gui/ControlPanel.scala b/src/graphyx/gui/ControlPanel.scala index 2708d54..2cde7e6 100644 --- a/src/graphyx/gui/ControlPanel.scala +++ b/src/graphyx/gui/ControlPanel.scala @@ -6,6 +6,7 @@ package graphyx.gui +import graphyx._ import graphyx.actors._ import graphyx.gui._ import scala.swing._ @@ -33,4 +34,7 @@ class ControlPanel(container: Container) extends BoxPanel(Orientation.Horizontal case SelectionChanged(`cboTest`) => Graphyx.test = Graphyx.tests(cboTest.selection.index) } + def update() { + btnFire.enabled = Graphyx.test.enableEvent + } } |