Commit: 1ffd8e1a1244a803df5da508c31e510b5b3461bc
Parent: ff245e754dbe5329f459f128bbf2b5dbf6c2c6be
Author: Ren Tatsumoto
Date: Thu, 4 Mar 2021 00:00:16 +0300
use local names for calls
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/subs2srs.lua b/subs2srs.lua
@@ -1238,9 +1238,9 @@ clip_autocopy = (function()
local toggle = function()
config.autoclip = not config.autoclip
if config.autoclip == true then
- clip_autocopy.enable()
+ enable()
else
- clip_autocopy.disable()
+ disable()
end
state_notify()
menu.update()
@@ -1252,7 +1252,7 @@ clip_autocopy = (function()
local init = function()
if config.autoclip == true then
- clip_autocopy.enable()
+ enable()
end
end