Initialize settings for SINGLE_TOP
This commit is contained in:
parent
32d17547e5
commit
82ba67db82
|
@ -46,6 +46,7 @@
|
|||
#include <kiway_player.h>
|
||||
#include <macros.h>
|
||||
#include <confirm.h>
|
||||
#include <settings/kicad_settings.h>
|
||||
#include <settings/settings_manager.h>
|
||||
|
||||
#include <kiplatform/app.h>
|
||||
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue