mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 02:03:02 +00:00
Find and Replace: confirming with a field of the wrong type runs no action
ui.dialog.confirm used to read a replace that is not a string as empty text, so Replace All could delete every match, and a switch that is not true or false as off. It now returns the error, which shows under the match found, and runs nothing; the match stays for Replace once the field is set right.
This commit is contained in:
+2
-1
@@ -9997,7 +9997,8 @@ search while the dialog is closed, and opens the dialog when there has been none
|
||||
document is not used in another, nor once the Find text or an option that decides a match changes: the search then
|
||||
starts again as it does without `from`. `ui.paramDialog` opens
|
||||
the dialog on the last search, with the fields its `params` give in its place. A null field gives none, and a field of
|
||||
the wrong type is an error that leaves the dialog closed.
|
||||
the wrong type is an error that leaves the dialog closed. Once it is open, `ui.dialog.confirm` with a field of the
|
||||
wrong type runs no action and returns the error.
|
||||
|
||||
|
||||
## Justification options
|
||||
|
||||
Reference in New Issue
Block a user