add missing shortcuts back to advanced menu
This commit is contained in:
parent
1842db2a8f
commit
6007cf5e3a
@ -658,16 +658,22 @@ to a cloze type first, via Edit>Change Note Type."""))
|
||||
m = QMenu(self.mw)
|
||||
a = m.addAction(_("MathJax inline"))
|
||||
a.triggered.connect(self.insertMathjaxInline)
|
||||
a.setShortcut(QKeySequence("Ctrl+M, M"))
|
||||
a = m.addAction(_("MathJax block"))
|
||||
a.triggered.connect(self.insertMathjaxBlock)
|
||||
a.setShortcut(QKeySequence("Ctrl+M, E"))
|
||||
a = m.addAction(_("LaTeX"))
|
||||
a.triggered.connect(self.insertLatex)
|
||||
a.setShortcut(QKeySequence("Ctrl+T, T"))
|
||||
a = m.addAction(_("LaTeX equation"))
|
||||
a.triggered.connect(self.insertLatexEqn)
|
||||
a.setShortcut(QKeySequence("Ctrl+T, E"))
|
||||
a = m.addAction(_("LaTeX math env."))
|
||||
a.triggered.connect(self.insertLatexMathEnv)
|
||||
a.setShortcut(QKeySequence("Ctrl+T, M"))
|
||||
a = m.addAction(_("Edit HTML"))
|
||||
a.triggered.connect(self.onHtmlEdit)
|
||||
a.setShortcut(QKeySequence("Ctrl+Shift+X"))
|
||||
m.exec_(QCursor.pos())
|
||||
|
||||
# LaTeX
|
||||
|
Loading…
Reference in New Issue
Block a user