From 8b9ad225a5eaedaab120658426d58f18bf98dd66 Mon Sep 17 00:00:00 2001 From: vectorsigma72 Date: Wed, 22 Apr 2020 18:15:11 +0200 Subject: [PATCH] Fixed real vs integer detection in the Plist Editor --- CloverApp/Clover/Plist Editor/Views/PlistEditorVC.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CloverApp/Clover/Plist Editor/Views/PlistEditorVC.swift b/CloverApp/Clover/Plist Editor/Views/PlistEditorVC.swift index f691ec02f..bec10ddca 100644 --- a/CloverApp/Clover/Plist Editor/Views/PlistEditorVC.swift +++ b/CloverApp/Clover/Plist Editor/Views/PlistEditorVC.swift @@ -994,7 +994,7 @@ NSSearchFieldDelegate, NSSplitViewDelegate { case .Number: let newNum = numberFromLocalizedString(string: textField.stringValue) self.outline.undo_SetValue(node: textField.node!, - newValue: (newNum is PEReal) ? newNum as! PEReal : newNum as! PEReal, + newValue: (newNum is PEInt) ? newNum as! PEInt : newNum as! PEReal, oldValue: ro!.value!) break case .Data: