Do not ask confirmation on RemoveEvent for texnote
This commit is contained in:
parent
54a7ed53a5
commit
22324bcd8d
@ -1,5 +1,4 @@
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import subprocess
|
||||
import collections
|
||||
@ -34,6 +33,7 @@ BIB_INFO = os.path.splitext(TPL_BIB)[0].replace(DIR, '')[1:]
|
||||
BIBSTYLE_PATTERN = '\\bibliographystyle{INFO}'
|
||||
DFT_BIBSTYLE_INFO = 'ieeetr'
|
||||
|
||||
|
||||
class TexnotePlugin(PapersPlugin):
|
||||
|
||||
def __init__(self):
|
||||
@ -254,7 +254,7 @@ def create(addevent):
|
||||
@RemoveEvent.listen()
|
||||
def remove(rmevent):
|
||||
texplug = TexnotePlugin.get_instance()
|
||||
texplug.remove(rmevent.citekey)
|
||||
texplug.remove(rmevent.citekey, force=True)
|
||||
|
||||
|
||||
@RenameEvent.listen()
|
||||
|
Loading…
x
Reference in New Issue
Block a user