From 53c4604c09d749707225a8c5e8a8f77d651235cc Mon Sep 17 00:00:00 2001 From: "St.Huang" Date: Sun, 27 Jan 2019 16:08:00 +0800 Subject: [PATCH] bug fixes. --- addons/fastwq/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/fastwq/__init__.py b/addons/fastwq/__init__.py index 6fa70ac..85b37ef 100644 --- a/addons/fastwq/__init__.py +++ b/addons/fastwq/__init__.py @@ -23,7 +23,7 @@ from anki.hooks import addHook, wrap, remHook from aqt.addcards import AddCards from aqt.utils import showInfo, shortcut, downArrow -from .gui import show_options, show_about_dialog, check_updates +from .gui import show_options, show_about_dialog #, check_updates from .query import query_from_browser, query_from_editor_fields from .context import config, APP_ICON, Config from .lang import _ @@ -33,7 +33,7 @@ __all__ = [ 'browser_menu', 'customize_addcards', - 'config_menu', 'check_updates', 'context_menu' + 'config_menu', 'context_menu' #, 'check_updates' ] @@ -107,10 +107,10 @@ def _show_options(): if b: menu.addSeparator() - # check update - action = QAction(_('CHECK_UPDATE'), browser) - action.triggered.connect(lambda: check_updates(background=False, parent=browser)) - menu.addAction(action) + # # check update + # action = QAction(_('CHECK_UPDATE'), browser) + # action.triggered.connect(lambda: check_updates(background=False, parent=browser)) + # menu.addAction(action) # About action = QAction(_('ABOUT'), browser)