clear all files after indexing
This commit is contained in:
parent
77ece6ca83
commit
133d461395
@ -2705,8 +2705,6 @@ Public Class frmIndex
|
||||
ClearError()
|
||||
ClearNotice()
|
||||
|
||||
|
||||
|
||||
Me.Cursor = Cursors.WaitCursor
|
||||
ClassHelper.Refresh_RegexTable()
|
||||
For Each rowregex As DataRow In CURRENT_DT_REGEX.Rows
|
||||
@ -2767,11 +2765,24 @@ Public Class frmIndex
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
' Clear all temp files after indexing
|
||||
Clear_Tempfiles()
|
||||
EMAIL.Clear_TempFiles()
|
||||
|
||||
Me.Cursor = Cursors.Default
|
||||
End Sub
|
||||
|
||||
Private Sub Clear_Tempfiles()
|
||||
'TempDateien löschen
|
||||
For Each oFile In TEMP_FILES
|
||||
Try
|
||||
System.IO.File.Delete(oFile)
|
||||
Catch ex As Exception
|
||||
LOGGER.Error(ex)
|
||||
End Try
|
||||
Next
|
||||
End Sub
|
||||
|
||||
Private Sub checkItemPreview_CheckedChanged(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles checkItemPreview.CheckedChanged
|
||||
SetFilePreview(checkItemPreview.Checked)
|
||||
CONFIG.Config.FilePreview = checkItemPreview.Checked
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user