mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
fix without patch
Приведение в соответствие с github Патч делать не нужно.
This commit is contained in:
parent
bdfca63db0
commit
9e9bfef8b8
56 changed files with 512 additions and 505 deletions
|
|
@ -63,11 +63,13 @@ sysSettings::sysSettings(const wxString &name) : wxConfig(name)
|
|||
|
||||
sysSettings::~sysSettings()
|
||||
{
|
||||
#ifdef WIN32
|
||||
wxRegKey key(wxRegKey::HKCU, "Software\\"+appName);
|
||||
|
||||
wxString fn= wxStandardPaths::Get().GetUserConfigDir() + wxT("\\postgresql\\autoSaveConfig.reg");
|
||||
if (wxFileName::FileExists(fn)) wxRemoveFile(fn);
|
||||
key.Export(fn);
|
||||
#endif
|
||||
if(defaultSettings)
|
||||
{
|
||||
delete defaultSettings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue