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
commit 9be6f38988
2 changed files with 6 additions and 0 deletions

View File

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

View File

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