mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Update main.py
This commit is contained in:
parent
653f5765b8
commit
a068fcdc9f
1 changed files with 2 additions and 2 deletions
|
@ -1362,11 +1362,11 @@ will be lost. Continue?"""
|
|||
menu = frm.log.createStandardContextMenu(QCursor.pos())
|
||||
menu.addSeparator()
|
||||
if name == "log":
|
||||
a = menu.addAction(_("Clear Log"))
|
||||
a = menu.addAction("Clear Log")
|
||||
a.setShortcuts(QKeySequence("ctrl+l"))
|
||||
qconnect(a.triggered, frm.log.clear)
|
||||
elif name == "text":
|
||||
a = menu.addAction(_("Clear Code"))
|
||||
a = menu.addAction("Clear Code")
|
||||
a.setShortcuts(QKeySequence("ctrl+shift+l"))
|
||||
qconnect(a.triggered, frm.text.clear)
|
||||
menu.exec(QCursor.pos())
|
||||
|
|
Loading…
Reference in a new issue