From 6a47fc6830455db08052190ddafbc618aae53ad5 Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Tue, 22 Dec 2020 14:11:01 +0100 Subject: [PATCH] jj --- GUIs.Common/DocumentResultList/frmDocumentResultList.vb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GUIs.Common/DocumentResultList/frmDocumentResultList.vb b/GUIs.Common/DocumentResultList/frmDocumentResultList.vb index 7b7db43e..fde674fd 100644 --- a/GUIs.Common/DocumentResultList/frmDocumentResultList.vb +++ b/GUIs.Common/DocumentResultList/frmDocumentResultList.vb @@ -54,10 +54,10 @@ Public Class frmDocumentResultList _Params = Params _ResultLists = Params.Results - InitIDB() + MaybeInitIDB() End Sub - Private Sub InitIDB() + Private Sub MaybeInitIDB() _IsLegacy = Not _Environment.Service.IsActive If _Environment.Service.IsActive Then Dim oSplit As List(Of String) = _Environment.Service.Address.Split(":").ToList() @@ -218,6 +218,7 @@ Public Class frmDocumentResultList If e.FocusedRowHandle >= 0 Then Dim oRow = sender.GetDataRow(e.FocusedRowHandle) Dim oFullPath = oRow.Item(COLUMN_FILEPATH) + DocumentViewer1.LoadFile(oFullPath) End If End Sub