mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-24 16:27:42 +01:00
Fixed real vs integer detection in the Plist Editor
This commit is contained in:
parent
00e5e5e7a7
commit
8b9ad225a5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user