make sure type answers with : work

This commit is contained in:
Damien Elmes 2011-12-03 19:14:04 +09:00
parent 26ba52a752
commit 94baee058c

View file

@ -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))