From 57e3984c26e6dc8d33483646663acabed49f4499 Mon Sep 17 00:00:00 2001 From: OlgunR Date: Thu, 12 Feb 2026 14:00:37 +0100 Subject: [PATCH] Reset manually_cancel flag before profile run Changed manually_cancel default to False and explicitly reset it before starting profile runs to prevent unintended early cancellation. --- ToolCollection/frmNIHauptseite.vb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ToolCollection/frmNIHauptseite.vb b/ToolCollection/frmNIHauptseite.vb index 23ea244..228a810 100644 --- a/ToolCollection/frmNIHauptseite.vb +++ b/ToolCollection/frmNIHauptseite.vb @@ -29,7 +29,7 @@ Public Class frmNIHauptseite Private _fulltext As clsNIFulltext Private manuallyRun As Boolean = False - Private manually_cancel As Boolean = True + Private manually_cancel As Boolean = False '#### Variablen für das Profil Private myNIDatatable As DataTable Private myNIArrayIndexe() As String = Nothing ' zum Speichern der Indexe @@ -794,6 +794,7 @@ Public Class frmNIHauptseite Me.ProgressBar1.Value = 0 Me.Refresh() + manually_cancel = False Me.startProfileDurchlauf() Else _Logger.Warn("Attention: ClassNIProfile.Profile IsNothing")