prepare for new profilematch version, clean up, fix bugs

This commit is contained in:
Jonathan Jenne
2019-07-19 15:24:39 +02:00
parent 54a533e974
commit da579381ce
4 changed files with 130 additions and 136 deletions

View File

@@ -48,12 +48,12 @@ Public Class frmProfileMatch
oCountElement.TextAlignment = TileItemContentAlignment.BottomRight
oCountElement.Appearance.Normal.Font = SecondaryFont
Dim oText As String
If oProfile.Count = 99999 Then
If oProfile.CountDocs = 99999 Then
oText = "DocCount 0 = Check Your MatchCountConfig in Profiles!"
ElseIf oProfile.Count = 99998 Then
ElseIf oProfile.CountDocs = 99998 Then
oText = "DocCount (MatchCountConfig has not been configured)"
Else
oText = $"{oProfile.Count} files!"
oText = $"{oProfile.CountDocs} files!"
End If
oCountElement.Text = oText
@@ -76,13 +76,9 @@ Public Class frmProfileMatch
Logger.Error(ex)
Logger.Info("Error in Save FormLayout: " & ex.Message)
End Try
CURR_MATCH_RESULT = Nothing
CLIPBOARD_TEXT = ""
End Sub
Private Sub SimpleButton1_Click(sender As Object, e As EventArgs) Handles SimpleButton1.Click
CURR_MATCH_RESULT = Nothing
CLIPBOARD_TEXT = ""
Close()
End Sub