From 9405e691aa3d37969158b7a7243614e441ea430d Mon Sep 17 00:00:00 2001 From: David Kornacki Date: Wed, 29 Jan 2025 15:49:31 -0500 Subject: [PATCH] allow minimize and interaction with other forms while batch cache window is open --- src/Plugin/BatchCacheMenuItem.cs | 2 +- src/Plugin/BatchCacheWindow.Designer.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Plugin/BatchCacheMenuItem.cs b/src/Plugin/BatchCacheMenuItem.cs index a401e91..9933a20 100644 --- a/src/Plugin/BatchCacheMenuItem.cs +++ b/src/Plugin/BatchCacheMenuItem.cs @@ -29,7 +29,7 @@ public void OnSelected(IGame[] selectedGames) // Glue between the main app window (WPF) and this window (WinForms) parent.AssignHandle(new WindowInteropHelper(System.Windows.Application.Current.MainWindow).Handle); - window.ShowDialog(parent); + window.Show(parent); if (window.RefreshLaunchBox && !PluginHelper.StateManager.IsBigBox) { diff --git a/src/Plugin/BatchCacheWindow.Designer.cs b/src/Plugin/BatchCacheWindow.Designer.cs index 71b4ba3..5366a94 100644 --- a/src/Plugin/BatchCacheWindow.Designer.cs +++ b/src/Plugin/BatchCacheWindow.Designer.cs @@ -263,7 +263,6 @@ private void InitializeComponent() this.Controls.Add(this.cacheStatusGridView); this.Controls.Add(this.progressBar); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(480, 180); this.Name = "BatchCacheWindow"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;