From 31e60196b85ce5a1da3318480b957d06648bcbd3 Mon Sep 17 00:00:00 2001
From: Simpel <git@simpel.cc>
Date: Thu, 31 Aug 2023 13:54:25 +0200
Subject: [PATCH] fix: set progress2 to 100 % if finished

Additional don't say 'ready' if finished but 'done'.

Signed-off-by: Conrad Zelck <git@simpel.cc>
---
 MXF-Track-Swap.au3 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/MXF-Track-Swap.au3 b/MXF-Track-Swap.au3
index f5335de..dd55d19 100644
--- a/MXF-Track-Swap.au3
+++ b/MXF-Track-Swap.au3
@@ -764,7 +764,8 @@ Func _ReWrap()
 		$sBMXCommand &= '"'
 		_runBMXwrap('bmxtranswrap ' & $sBMXCommand & ' -o "' & @TempDir & '\' & _StripFileExtension(_FileName($g_sMXFFile)) & $sSuffix & ' "' & $g_sMXFFile & '"', $sPathTempFolder)
 	EndIf
-	GUICtrlSetData($Edit, "Ready")
+	GUICtrlSetData($Progress2, 100)
+	GUICtrlSetData($Edit, "Done")
 	WinSetOnTop($g_hGUI, "", $WINDOWS_ONTOP)
 
 EndFunc
-- 
GitLab