mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 15:47:12 -05: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":
|
elif url == "more":
|
||||||
self.showContextMenu()
|
self.showContextMenu()
|
||||||
elif url.startswith("typeans:"):
|
elif url.startswith("typeans:"):
|
||||||
(cmd, arg) = url.split(":")
|
(cmd, arg) = url.split(":", 1)
|
||||||
self.typedAnswer = arg
|
self.typedAnswer = arg
|
||||||
else:
|
else:
|
||||||
QDesktopServices.openUrl(QUrl(url))
|
QDesktopServices.openUrl(QUrl(url))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue