Skip to content

Commit

Permalink
bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sth2018 committed Jan 27, 2019
1 parent 6563090 commit 53c4604
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions addons/fastwq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 _
Expand All @@ -33,7 +33,7 @@

__all__ = [
'browser_menu', 'customize_addcards',
'config_menu', 'check_updates', 'context_menu'
'config_menu', 'context_menu' #, 'check_updates'
]


Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 53c4604

Please sign in to comment.