Commit 09337da9 authored by José Joaquín Atria's avatar José Joaquín Atria
Browse files

Make sure new Strings is not removed beforehand

parent 1a5dc3be
Pipeline #9060701 passed with stage
in 2 minutes
......@@ -97,12 +97,17 @@ nocheck Append
# better to discard them.
# See https://github.com/praat/praat/issues/58
if numberOfSelected("Strings") > 1
runScript: "create_empty_strings.praat", name$
Create Strings as tokens: ""
Rename: name$
endif
new = selected("Strings")
@restoreSavedSelection: selection
Remove
minusObject: new
if numberOfSelected()
Remove
endif
removeObject: selection
selectObject: new
if sort
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment