Merge pull request #4292 from shuffle2/fix-saving-log-settings

Restore saving logger settings to .ini
This commit is contained in:
shuffle2
2016-10-04 17:16:51 -07:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,11 @@ LogConfigWindow::LogConfigWindow(wxWindow* parent, wxWindowID id)
LoadSettings(); LoadSettings();
} }
LogConfigWindow::~LogConfigWindow()
{
SaveSettings();
}
void LogConfigWindow::CreateGUIControls() void LogConfigWindow::CreateGUIControls()
{ {
// Verbosity // Verbosity

View File

@ -15,6 +15,7 @@ class LogConfigWindow : public wxPanel
{ {
public: public:
LogConfigWindow(wxWindow* parent, wxWindowID id = wxID_ANY); LogConfigWindow(wxWindow* parent, wxWindowID id = wxID_ANY);
~LogConfigWindow();
void SaveSettings(); void SaveSettings();
void LoadSettings(); void LoadSettings();