From 97748ab8ff0b3a7af2249889fa515a69bb4e71a2 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Thu, 26 Feb 2026 17:01:09 +0100 Subject: [PATCH] Fix VACE schedule default mismatch introduced in refactor dict_number() defaulted to 0 while mode_label used default of 1, causing visual inconsistency when 'vace schedule' key is missing. Co-Authored-By: Claude Opus 4.6 --- tab_batch_ng.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tab_batch_ng.py b/tab_batch_ng.py index 9120410..4c78ec1 100644 --- a/tab_batch_ng.py +++ b/tab_batch_ng.py @@ -542,7 +542,7 @@ def _render_vace_settings(i, seq, batch_list, data, file_path, refresh_list): # VACE Schedule sched_val = max(0, min(int(seq.get('vace schedule', 1)), len(VACE_MODES) - 1)) with ui.row().classes('w-full items-center'): - vs_input = dict_number('VACE Schedule', seq, 'vace schedule', + vs_input = dict_number('VACE Schedule', seq, 'vace schedule', default=1, min=0, max=len(VACE_MODES) - 1).classes('col').props('outlined') mode_label = ui.label(VACE_MODES[sched_val]).classes('text-caption')