From 41707e1e494acd0db43bcec720370aa47dc7c866 Mon Sep 17 00:00:00 2001 From: Ben Olden-Cooligan Date: Tue, 28 Jun 2022 21:48:06 -0700 Subject: [PATCH] Fix form provider --- NAPS2.Lib.WinForms/Modules/WinFormsModule.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NAPS2.Lib.WinForms/Modules/WinFormsModule.cs b/NAPS2.Lib.WinForms/Modules/WinFormsModule.cs index b226caa84..422db5cbf 100644 --- a/NAPS2.Lib.WinForms/Modules/WinFormsModule.cs +++ b/NAPS2.Lib.WinForms/Modules/WinFormsModule.cs @@ -32,5 +32,6 @@ public class WinFormsModule : NinjectModule Bind().To(); Bind().To(); Bind().To(); + Bind().ToSelf().InSingletonScope(); } } \ No newline at end of file