mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
make sure type answers with : work
This commit is contained in:
parent
26ba52a752
commit
94baee058c
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ function _typeAnsPress() {
|
|||
elif url == "more":
|
||||
self.showContextMenu()
|
||||
elif url.startswith("typeans:"):
|
||||
(cmd, arg) = url.split(":")
|
||||
(cmd, arg) = url.split(":", 1)
|
||||
self.typedAnswer = arg
|
||||
else:
|
||||
QDesktopServices.openUrl(QUrl(url))
|
||||
|
|
Loading…
Reference in a new issue