GUI: clicking an open link or menu entry inside the result table would start the external application 3 times. Closes issue #59
This commit is contained in:
parent
4a750521b8
commit
b9be9e58d5
@ -12,6 +12,10 @@ import subprocess
|
|||||||
# Prototype for the html document we're returning. Info files are
|
# Prototype for the html document we're returning. Info files are
|
||||||
# normally ascii. Set no charset, and let it be provided by the
|
# normally ascii. Set no charset, and let it be provided by the
|
||||||
# environment if necessary
|
# environment if necessary
|
||||||
|
#
|
||||||
|
# Some info source docs contain charset info like:
|
||||||
|
# @documentencoding ISO-2022-JP
|
||||||
|
# But this seems to be absent from outputs.
|
||||||
htmltemplate = '''
|
htmltemplate = '''
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|||||||
@ -266,12 +266,8 @@ void RclMain::init()
|
|||||||
this, SLOT(startNativeViewer(Rcl::Doc)));
|
this, SLOT(startNativeViewer(Rcl::Doc)));
|
||||||
connect(restable, SIGNAL(docPreviewClicked(int, Rcl::Doc, int)),
|
connect(restable, SIGNAL(docPreviewClicked(int, Rcl::Doc, int)),
|
||||||
this, SLOT(startPreview(int, Rcl::Doc, int)));
|
this, SLOT(startPreview(int, Rcl::Doc, int)));
|
||||||
connect(restable, SIGNAL(docEditClicked(Rcl::Doc)),
|
|
||||||
this, SLOT(startNativeViewer(Rcl::Doc)));
|
|
||||||
connect(restable, SIGNAL(docExpand(Rcl::Doc)),
|
connect(restable, SIGNAL(docExpand(Rcl::Doc)),
|
||||||
this, SLOT(docExpand(Rcl::Doc)));
|
this, SLOT(docExpand(Rcl::Doc)));
|
||||||
connect(restable, SIGNAL(docEditClicked(Rcl::Doc)),
|
|
||||||
this, SLOT(startNativeViewer(Rcl::Doc)));
|
|
||||||
connect(restable, SIGNAL(previewRequested(Rcl::Doc)),
|
connect(restable, SIGNAL(previewRequested(Rcl::Doc)),
|
||||||
this, SLOT(startPreview(Rcl::Doc)));
|
this, SLOT(startPreview(Rcl::Doc)));
|
||||||
connect(restable, SIGNAL(editRequested(Rcl::Doc)),
|
connect(restable, SIGNAL(editRequested(Rcl::Doc)),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user