@@ -4,7 +4,7 @@ function plugindef()
4
4
finaleplugin .ExecuteHttpsCalls = true
5
5
finaleplugin .Author = " Robert Patterson"
6
6
finaleplugin .Copyright = " CC0 https://creativecommons.org/publicdomain/zero/1.0/"
7
- finaleplugin .Version = " 3.0.2 "
7
+ finaleplugin .Version = " 3.0.3 "
8
8
finaleplugin .Date = " October 29, 2023"
9
9
finaleplugin .CategoryTags = " Lyrics"
10
10
finaleplugin .Notes = [[
@@ -366,7 +366,7 @@ local function on_selection_changed(text_ctrl)
366
366
end
367
367
368
368
-- FCXCustomLuaWindow (mixin version) passes the dialog as the first parameter to HandleTimer
369
- local function on_timer (_ , timer_id )
369
+ local function on_timer (_dialog , timer_id )
370
370
if timer_id ~= context .global_timer_id then return end
371
371
local curr_doc_id = finale .FCDocument ().ID
372
372
if curr_doc_id ~= context .current_document_id then
@@ -522,7 +522,7 @@ local function create_dialog_box()
522
522
dlg :CreateButton (xoff , yoff , " update" )
523
523
:SetText (" Update" )
524
524
:SetWidth (110 )
525
- :AddHandleCommand (function (_ ) update_document () end )
525
+ :AddHandleCommand (function (_control ) update_document () end )
526
526
xoff = xoff + 120
527
527
dlg :CreateCheckbox (xoff , yoff , " auto_update" )
528
528
:SetText (" Update Automatically" )
@@ -534,7 +534,7 @@ local function create_dialog_box()
534
534
dlg :CreateButton (xoff , yoff , " refresh" )
535
535
:SetText (" Get from Document" )
536
536
:SetWidth (150 )
537
- :AddHandleCommand (function (_ )
537
+ :AddHandleCommand (function (_control )
538
538
update_dlg_text ({reset_undo = false })
539
539
end )
540
540
dlg :CreateCloseButton (xoff + text_width - 80 , yoff )
0 commit comments