Commit: c00341ac3088dcacd816e41f79a86af7ebb54ee4
Parent: f369ebdc26ee49ab2484007f8ff63200058c03a6
Author: Ren Tatsumoto
Date: Mon, 26 Oct 2020 19:25:05 +0300
don't close the menu after adding/updating cards
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/subs2srs.lua b/subs2srs.lua
@@ -282,7 +282,6 @@ end
local function export_to_anki(gui)
local sub = subs.get()
subs.clear()
- menu.close()
if sub ~= nil then
local snapshot_filename, audio_filename = construct_media_filenames(sub)
@@ -302,7 +301,6 @@ local function update_last_note(overwrite)
local sub = subs.get()
local last_note_id = ankiconnect.get_last_note_id()
subs.clear()
- menu.close()
if sub == nil then
notify("Nothing to export. Have you set the timings?", "warn", 2)