From e4baa1d67117eb86d5901e1fee2f166206b73c89 Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Mon, 22 Mar 2021 15:40:15 +0100 Subject: [PATCH] DocumentResultList: Remove Hashes for now --- GUIs.Common/DocumentResultList/frmDocumentResultList.vb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/GUIs.Common/DocumentResultList/frmDocumentResultList.vb b/GUIs.Common/DocumentResultList/frmDocumentResultList.vb index 0871b086..fa6ea0f7 100644 --- a/GUIs.Common/DocumentResultList/frmDocumentResultList.vb +++ b/GUIs.Common/DocumentResultList/frmDocumentResultList.vb @@ -47,8 +47,8 @@ Public Class frmDocumentResultList Private _ActiveGridBand As GridBand = Nothing ' TODO: Hashes for checking if the opened file was modified externally - Private _HashOriginalFile As String = Nothing - Private _HashOpenedFile As String = Nothing + 'Private _HashOriginalFile As String = Nothing + 'Private _HashOpenedFile As String = Nothing Private WithEvents _FileOpenTimer As New Timer Private _OpenDocuments As New DocumentResultCache(50000000) @@ -162,7 +162,8 @@ Public Class frmDocumentResultList If Not File.Exists(oDocumentInfo.FullPath) Then Show_Warning("File does not exist!") - _HashOriginalFile = Nothing + ' TODO: Create checksum after closing, compare and take action + '_HashOriginalFile = Nothing Exit Sub End If @@ -183,7 +184,7 @@ Public Class frmDocumentResultList End If ' TODO: Create checksum after closing, compare and take action - _HashOriginalFile = _Filesystem.GetChecksum(oDocumentInfo.FullPath) + '_HashOriginalFile = _Filesystem.GetChecksum(oDocumentInfo.FullPath) End If Catch ex As Exception _Logger.Error(ex)