From 7ddef03aba5ee99a31a4dba61f49110de265659b Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 18 Apr 2023 19:27:32 -0700 Subject: [PATCH] Initialize settings for SINGLE_TOP (cherry picked from commit 82ba67db82e6d66b37e044361b75de0bb2b17765) --- common/single_top.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/single_top.cpp b/common/single_top.cpp index bf136091e3..64a075518c 100644 --- a/common/single_top.cpp +++ b/common/single_top.cpp @@ -46,6 +46,7 @@ #include #include #include +#include #include #include @@ -340,6 +341,8 @@ bool PGM_SINGLE_TOP::OnPgmInit() // Tell the settings manager about the current Kiway GetSettingsManager().SetKiway( &Kiway ); + GetSettingsManager().RegisterSettings( new KICAD_SETTINGS ); + // Use KIWAY to create a top window, which registers its existence also. // "TOP_FRAME" is a macro that is passed on compiler command line from CMake, // and is one of the types in FRAME_T.