Restore "Open Parent" popup menu entry. Useful to open the enclosing folder. Closes issue #141
This commit is contained in:
parent
c4954bf5a9
commit
652feb6925
@ -61,9 +61,11 @@ QMenu *create(QWidget *me, int opts, RefCntr<DocSequence> source, Rcl::Doc& doc)
|
||||
if (source.isNotNull() && source->getEnclosing(doc, pdoc)) {
|
||||
popup->addAction(me->tr("Preview P&arent document/folder"),
|
||||
me, SLOT(menuPreviewParent()));
|
||||
popup->addAction(me->tr("&Open Parent document/folder"),
|
||||
me, SLOT(menuOpenParent()));
|
||||
}
|
||||
// Open parent is useful even if there is no parent because we open
|
||||
// the enclosing folder.
|
||||
popup->addAction(me->tr("&Open Parent document/folder"),
|
||||
me, SLOT(menuOpenParent()));
|
||||
|
||||
if (opts & showExpand)
|
||||
popup->addAction(me->tr("Find &similar documents"),
|
||||
@ -80,8 +82,7 @@ QMenu *create(QWidget *me, int opts, RefCntr<DocSequence> source, Rcl::Doc& doc)
|
||||
return popup;
|
||||
}
|
||||
|
||||
Rcl::Doc getParent(RefCntr<DocSequence> source,
|
||||
Rcl::Doc& doc)
|
||||
Rcl::Doc getParent(RefCntr<DocSequence> source, Rcl::Doc& doc)
|
||||
{
|
||||
Rcl::Doc pdoc;
|
||||
if (source.isNull() || !source->getEnclosing(doc, pdoc)) {
|
||||
|
||||
0
website/copydocs
Normal file → Executable file
0
website/copydocs
Normal file → Executable file
@ -87,6 +87,11 @@
|
||||
<div class="news">
|
||||
|
||||
<dl>
|
||||
|
||||
<dt>2013-05-18</dt><dd>Sometimes things
|
||||
<a href="http://www.lesbonscomptes.com/pages/happysearch.html">
|
||||
just work</a>...</dd>
|
||||
|
||||
<dt>2013-05-14</dt><dd>Recoll 1.19.2 is out. See the
|
||||
<a href="release-1.19.html">release notes</a> for a description
|
||||
of the changes.</dd>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user