Cleaning and some little tweaks.
[master-thesis.git] / Parasitemia / ParasitemiaUI / Analysis.fs
index 70d9ef0..5bb3500 100644 (file)
@@ -63,8 +63,8 @@ let showWindow (parent: Window) (state: State.State) : bool =
             imageSourceSelection.menuZoom50X.Click.AddHandler(fun obj args -> imageSourceSelection.txtResolution.Text <- "230000")
             imageSourceSelection.menuZoom100X.Click.AddHandler(fun obj args -> imageSourceSelection.txtResolution.Text <- "460000")
 
-            imageSourceSelection.butDPICalculator.Click.AddHandler(fun obj args ->
-                match DPICalculator.showWindow win.Root with
+            imageSourceSelection.butPPICalculator.Click.AddHandler(fun obj args ->
+                match PPICalculator.showWindow win.Root with
                 | Some resolution -> imageSourceSelection.txtResolution.Text <- resolution.ToString()
                 | None -> ())