Use wxFileConfig, not wxConfig
The wrong class is called for the ctor of the wxConfigBase - this should be a wxFileConfig, just like the bare new used to be. Fixes: lp:1810002 * https://bugs.launchpad.net/kicad/+bug/1810002
This commit is contained in:
parent
fb35a7c8b4
commit
e919ded35f
|
@ -254,7 +254,7 @@ std::unique_ptr<wxConfigBase> GetNewConfig( const wxString& aProgName )
|
|||
configname.AssignDir( GetKicadConfigPath() );
|
||||
configname.SetFullName( aProgName );
|
||||
|
||||
return std::make_unique<wxConfig>( wxT( "" ), wxT( "" ), configname.GetFullPath() );
|
||||
return std::make_unique<wxFileConfig>( wxT( "" ), wxT( "" ), configname.GetFullPath() );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue