Restore saving logger settings to .ini

This commit is contained in:
Shawn Hoffman 2016-10-04 02:02:07 -07:00
parent 037f0a1803
commit 7de9ff10a8
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();