From 0801ae12b720b6e1f9b5510cf8fa1b60b757720f Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Mon, 23 Sep 2019 17:00:15 +0200 Subject: [PATCH] tweak tree text --- app/DD_Clipboard_Searcher/ClassProfileFilter.vb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/DD_Clipboard_Searcher/ClassProfileFilter.vb b/app/DD_Clipboard_Searcher/ClassProfileFilter.vb index 9250fff..66d676e 100644 --- a/app/DD_Clipboard_Searcher/ClassProfileFilter.vb +++ b/app/DD_Clipboard_Searcher/ClassProfileFilter.vb @@ -144,7 +144,7 @@ Public Class ClassProfileFilter End Function Private Function NewClipboardRegexNode(Profile As ProfileData, IsMatch As Boolean) As TreeNode - Dim oText = $"{GetMatchText(IsMatch)} on Global Clipboard Regex {Profile.Regex}: {IsMatch.ToString}" + Dim oText = $"{GetMatchText(IsMatch)} on Global Clipboard Regex {Profile.Regex}" Dim oNode As New TreeNode() With { .Text = oText, @@ -157,7 +157,7 @@ Public Class ClassProfileFilter End Function Private Function NewProcessNode(Profile As ProfileData, Process As ProcessData, IsMatch As Boolean) As TreeNode Dim oMatchText = IIf(IsMatch, "MATCH", "NO MATCH") - Dim oText = $"{GetMatchText(IsMatch)} on ProcessName {Process.ProcessName}: {IsMatch.ToString}" + Dim oText = $"{GetMatchText(IsMatch)} on ProcessName {Process.ProcessName}" Dim oNode As New TreeNode() With { .Text = oText, @@ -171,7 +171,7 @@ Public Class ClassProfileFilter Private Function NewWindowNode(Profile As ProfileData, Window As WindowData, IsMatch As Boolean) As TreeNode Dim oMatchText = IIf(IsMatch, "MATCH", "NO MATCH") - Dim oText = $"{GetMatchText(IsMatch)} on WindowTitle {Window.Title}: {IsMatch.ToString}" + Dim oText = $"{GetMatchText(IsMatch)} on WindowTitle {Window.Title}" Dim oNode As New TreeNode() With { .Text = oText, @@ -185,7 +185,7 @@ Public Class ClassProfileFilter Private Function NewControlNode(Profile As ProfileData, Control As ControlData, IsMatch As Boolean) As TreeNode Dim oMatchText = IIf(IsMatch, "MATCH", "NO MATCH") - Dim oText = $"{GetMatchText(IsMatch)} on Control {Control.Description}: {IsMatch.ToString}" + Dim oText = $"{GetMatchText(IsMatch)} on Control {Control.Description}" Dim oNode As New TreeNode() With { .Text = oText,