Fix inactive click on "Preview" link inside detail area of auxiliary restable used for "Show subdocs"
This commit is contained in:
parent
f70c92c629
commit
42cae0a4c7
@ -790,10 +790,15 @@ void ResTable::linkWasClicked(const QUrl &url)
|
|||||||
case 'P':
|
case 'P':
|
||||||
case 'E':
|
case 'E':
|
||||||
{
|
{
|
||||||
if (what == 'P')
|
if (what == 'P') {
|
||||||
emit docPreviewClicked(i, m_detaildoc, 0);
|
if (m_ismainres) {
|
||||||
else
|
emit docPreviewClicked(i, m_detaildoc, 0);
|
||||||
|
} else {
|
||||||
|
emit previewRequested(m_detaildoc);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
emit editRequested(m_detaildoc);
|
emit editRequested(m_detaildoc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user