mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
add help & fix tab order of find&replace
This commit is contained in:
parent
1915fb053a
commit
6e3a4b67d3
2 changed files with 8 additions and 0 deletions
|
@ -780,6 +780,8 @@ where id in %s""" % ids2str(sf))
|
|||
d = QDialog(self)
|
||||
frm = ankiqt.forms.findreplace.Ui_Dialog()
|
||||
frm.setupUi(d)
|
||||
self.connect(frm.buttonBox, SIGNAL("helpRequested()"),
|
||||
self.onFindReplaceHelp)
|
||||
frm.type.insertItems(0, [
|
||||
_("Fields"),
|
||||
_("Tags")])
|
||||
|
@ -807,6 +809,10 @@ where id in %s""" % ids2str(sf))
|
|||
self.updateSearch()
|
||||
self.updateAfterCardChange()
|
||||
|
||||
def onFindReplaceHelp(self):
|
||||
QDesktopServices.openUrl(QUrl(ankiqt.appWiki +
|
||||
"Editor#FindReplace"))
|
||||
|
||||
# Jumping
|
||||
######################################################################
|
||||
|
||||
|
|
|
@ -82,6 +82,8 @@
|
|||
<tabstops>
|
||||
<tabstop>find</tabstop>
|
||||
<tabstop>replace</tabstop>
|
||||
<tabstop>type</tabstop>
|
||||
<tabstop>re</tabstop>
|
||||
<tabstop>buttonBox</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
|
|
Loading…
Reference in a new issue