Skip to content

Commit 3a9b29c

Browse files
committed
Update ties_remove_dangling.lua
1 parent 74b1a87 commit 3a9b29c

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/ties_remove_dangling.lua

+1-12
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,8 @@ local smartshape = require("library.smartshape")
3333

3434
local music_region = finale.FCMusicRegion()
3535
music_region:SetCurrentSelection()
36-
3736
if music_region:IsEmpty() then
38-
local str1 = finale.FCString()
39-
local str2 = finale.FCString()
40-
str1.LuaString = "Process whole document?"
41-
str2.LuaString = "No Selection."
42-
local ui = finenv.UI()
43-
local result = ui:AlertYesNo(str1.LuaString, str2.LuaString)
44-
if result == 2 then
45-
music_region:SetFullDocument()
46-
else
47-
goto bypass
48-
end
37+
music_region:SetFullDocument()
4938
end
5039

5140
for working_staff = music_region:GetStartStaff(), music_region:GetEndStaff() do

0 commit comments

Comments
 (0)