diff options
Diffstat (limited to 'src/tracker_frame.cpp')
-rw-r--r-- | src/tracker_frame.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tracker_frame.cpp b/src/tracker_frame.cpp index bacef34..acc6343 100644 --- a/src/tracker_frame.cpp +++ b/src/tracker_frame.cpp | |||
@@ -232,6 +232,7 @@ void TrackerFrame::OnSettings(wxCommandEvent &event) { | |||
232 | dlg.GetShouldCheckForUpdates(); | 232 | dlg.GetShouldCheckForUpdates(); |
233 | GetTrackerConfig().hybrid_areas = dlg.GetHybridAreas(); | 233 | GetTrackerConfig().hybrid_areas = dlg.GetHybridAreas(); |
234 | GetTrackerConfig().show_hunt_panels = dlg.GetShowHuntPanels(); | 234 | GetTrackerConfig().show_hunt_panels = dlg.GetShowHuntPanels(); |
235 | GetTrackerConfig().track_position = dlg.GetTrackPosition(); | ||
235 | GetTrackerConfig().Save(); | 236 | GetTrackerConfig().Save(); |
236 | 237 | ||
237 | UpdateIndicators(); | 238 | UpdateIndicators(); |
@@ -321,6 +322,10 @@ void TrackerFrame::OnStatusChanged(wxCommandEvent &event) { | |||
321 | } | 322 | } |
322 | 323 | ||
323 | void TrackerFrame::OnRedrawPosition(wxCommandEvent &event) { | 324 | void TrackerFrame::OnRedrawPosition(wxCommandEvent &event) { |
325 | if (!GetTrackerConfig().track_position) { | ||
326 | return; | ||
327 | } | ||
328 | |||
324 | if (notebook_->GetSelection() == 0) { | 329 | if (notebook_->GetSelection() == 0) { |
325 | tracker_panel_->Refresh(); | 330 | tracker_panel_->Refresh(); |
326 | } else if (notebook_->GetSelection() == 2) { | 331 | } else if (notebook_->GetSelection() == 2) { |