src/Pure/GUI/gui.scala
changeset 75809 1dd5d4f4b69e
parent 75393 87ebf5a50283
child 75839 29441f2bfe81
--- a/src/Pure/GUI/gui.scala	Fri Aug 12 11:26:09 2022 +0200
+++ b/src/Pure/GUI/gui.scala	Fri Aug 12 11:35:44 2022 +0200
@@ -118,7 +118,7 @@
   abstract class Zoom_Box extends ComboBox[String](
     List("50%", "70%", "85%", "100%", "125%", "150%", "175%", "200%", "300%", "400%")
   ) {
-    def changed: Unit
+    def changed(): Unit
     def factor: Int = parse(selection.item)
 
     private def parse(text: String): Int =
@@ -147,7 +147,7 @@
     selection.index = 3
 
     listenTo(selection)
-    reactions += { case SelectionChanged(_) => changed }
+    reactions += { case SelectionChanged(_) => changed() }
   }