mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
update doc links
This commit is contained in:
parent
8b10b031db
commit
2246485587
3 changed files with 3 additions and 14 deletions
|
@ -112,7 +112,7 @@ class ActiveTagsChooser(QDialog):
|
|||
|
||||
def onHelp(self):
|
||||
QDesktopServices.openUrl(QUrl(ankiqt.appWiki +
|
||||
"ActiveTags"))
|
||||
"SelectiveStudy"))
|
||||
|
||||
def show(parent, active, inactive):
|
||||
at = ActiveTagsChooser(parent, active, inactive)
|
||||
|
|
|
@ -13,10 +13,6 @@ from anki.deck import revCardOrderLabels
|
|||
from anki.utils import hexifyID, dehexifyID
|
||||
import ankiqt
|
||||
|
||||
tabs = ("ModelsAndPriorities",
|
||||
"Synchronization",
|
||||
"Advanced")
|
||||
|
||||
class DeckProperties(QDialog):
|
||||
|
||||
def __init__(self, parent, deck, onFinish=None):
|
||||
|
@ -153,10 +149,8 @@ class DeckProperties(QDialog):
|
|||
self.d.setModified()
|
||||
|
||||
def helpRequested(self):
|
||||
idx = self.dialog.qtabwidget.currentIndex()
|
||||
QDesktopServices.openUrl(QUrl(ankiqt.appWiki +
|
||||
"DeckProperties#" +
|
||||
tabs[idx]))
|
||||
"DeckProperties"))
|
||||
|
||||
def reject(self):
|
||||
n = _("Deck Properties")
|
||||
|
|
|
@ -9,9 +9,6 @@ import anki
|
|||
from anki.models import FieldModel, CardModel
|
||||
from ankiqt import ui
|
||||
|
||||
tabs = ("General",
|
||||
"Cards")
|
||||
|
||||
class ModelProperties(QDialog):
|
||||
|
||||
def __init__(self, parent, deck, model, main=None, onFinish=None):
|
||||
|
@ -252,10 +249,8 @@ class ModelProperties(QDialog):
|
|||
self.ignoreCardUpdate = False
|
||||
|
||||
def helpRequested(self):
|
||||
idx = self.dialog.tabWidget.currentIndex()
|
||||
QDesktopServices.openUrl(QUrl(ankiqt.appWiki +
|
||||
"ModelProperties#" +
|
||||
tabs[idx]))
|
||||
"ModelProperties"))
|
||||
|
||||
# Cleanup
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue