Ensure target balance is actually parseable as a number
This commit is contained in:
parent
52dd81ca9e
commit
8da79a8967
1 changed files with 17 additions and 16 deletions
|
|
@ -128,7 +128,8 @@ longer ones are after the value."
|
|||
(let ((str (read-from-minibuffer
|
||||
(concat prompt " (" ledger-reconcile-default-commodity "): ")))
|
||||
comm)
|
||||
(if (> (length str) 0)
|
||||
(if (and (> (length str) 0)
|
||||
(ledger-split-commodity-string str))
|
||||
(progn
|
||||
(setq comm (ledger-split-commodity-string str))
|
||||
(if (cadr comm)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue