From f26fd285ceb8fc140e4d80f56166c14e420f36b3 Mon Sep 17 00:00:00 2001 From: BDisp Date: Sat, 8 Mar 2025 22:49:54 +0000 Subject: [PATCH] Fixes #3941. v2win/v2net: UICatalog full benchmark suite crashes in Dialogs scenario (#3963) Co-authored-by: Tig --- UICatalog/Scenario.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UICatalog/Scenario.cs b/UICatalog/Scenario.cs index b526901b5f..cb25d9734d 100644 --- a/UICatalog/Scenario.cs +++ b/UICatalog/Scenario.cs @@ -180,7 +180,7 @@ public BenchmarkResults EndBenchmark () } private List? _demoKeys; - private int _currentDemoKey = 0; + private int _currentDemoKey; private void OnApplicationOnInitializedChanged (object? s, EventArgs a) { @@ -233,7 +233,6 @@ private void OnApplicationNotifyNewRunState (object? sender, RunStateEventArgs e { SubscribeAllSubViews (Application.Top!); - _currentDemoKey = 0; _demoKeys = GetDemoKeyStrokes (); Application.AddTimeout (