Browse Source

Initialize settings for SINGLE_TOP

newinvert
Seth Hillbrand 3 years ago
parent
commit
82ba67db82
  1. 3
      common/single_top.cpp

3
common/single_top.cpp

@ -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…
Cancel
Save