diff options
Diffstat (limited to 'src/settings_dialog.cpp')
-rw-r--r-- | src/settings_dialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settings_dialog.cpp b/src/settings_dialog.cpp index 58e5988..0321b5a 100644 --- a/src/settings_dialog.cpp +++ b/src/settings_dialog.cpp | |||
@@ -8,10 +8,12 @@ SettingsDialog::SettingsDialog() : wxDialog(nullptr, wxID_ANY, "Settings") { | |||
8 | hybrid_areas_box_ = new wxCheckBox( | 8 | hybrid_areas_box_ = new wxCheckBox( |
9 | this, wxID_ANY, | 9 | this, wxID_ANY, |
10 | "Use two colors to show that an area has partial availability"); | 10 | "Use two colors to show that an area has partial availability"); |
11 | show_hunt_panels_box_ = new wxCheckBox(this, wxID_ANY, "Show hunt panels"); | ||
11 | 12 | ||
12 | should_check_for_updates_box_->SetValue( | 13 | should_check_for_updates_box_->SetValue( |
13 | GetTrackerConfig().should_check_for_updates); | 14 | GetTrackerConfig().should_check_for_updates); |
14 | hybrid_areas_box_->SetValue(GetTrackerConfig().hybrid_areas); | 15 | hybrid_areas_box_->SetValue(GetTrackerConfig().hybrid_areas); |
16 | show_hunt_panels_box_->SetValue(GetTrackerConfig().show_hunt_panels); | ||
15 | 17 | ||
16 | wxBoxSizer* form_sizer = new wxBoxSizer(wxVERTICAL); | 18 | wxBoxSizer* form_sizer = new wxBoxSizer(wxVERTICAL); |
17 | 19 | ||
@@ -21,6 +23,9 @@ SettingsDialog::SettingsDialog() : wxDialog(nullptr, wxID_ANY, "Settings") { | |||
21 | form_sizer->Add(hybrid_areas_box_, wxSizerFlags().HorzBorder()); | 23 | form_sizer->Add(hybrid_areas_box_, wxSizerFlags().HorzBorder()); |
22 | form_sizer->AddSpacer(2); | 24 | form_sizer->AddSpacer(2); |
23 | 25 | ||
26 | form_sizer->Add(show_hunt_panels_box_, wxSizerFlags().HorzBorder()); | ||
27 | form_sizer->AddSpacer(2); | ||
28 | |||
24 | form_sizer->Add(CreateButtonSizer(wxOK | wxCANCEL), wxSizerFlags().Center()); | 29 | form_sizer->Add(CreateButtonSizer(wxOK | wxCANCEL), wxSizerFlags().Center()); |
25 | 30 | ||
26 | SetSizerAndFit(form_sizer); | 31 | SetSizerAndFit(form_sizer); |