about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-06-06 15:06:09 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-06-06 15:06:09 -0400
commitcb880c618ce031c95009b848cdf62dd61751c858 (patch)
tree84f5a016d35a537f25770a3c1c18c37a99faba92 /src
parente7b85c60546341dd842efe4dc06718854be9376c (diff)
downloadlingo-ap-tracker-cb880c618ce031c95009b848cdf62dd61751c858.tar.gz
lingo-ap-tracker-cb880c618ce031c95009b848cdf62dd61751c858.tar.bz2
lingo-ap-tracker-cb880c618ce031c95009b848cdf62dd61751c858.zip
Fixed achievements pane not refreshing properly
Diffstat (limited to 'src')
-rw-r--r--src/tracker_frame.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tracker_frame.cpp b/src/tracker_frame.cpp index a15a6b4..107ae49 100644 --- a/src/tracker_frame.cpp +++ b/src/tracker_frame.cpp
@@ -75,9 +75,8 @@ TrackerFrame::TrackerFrame()
75 Bind(STATE_CHANGED, &TrackerFrame::OnStateChanged, this); 75 Bind(STATE_CHANGED, &TrackerFrame::OnStateChanged, this);
76 Bind(STATUS_CHANGED, &TrackerFrame::OnStatusChanged, this); 76 Bind(STATUS_CHANGED, &TrackerFrame::OnStatusChanged, this);
77 77
78 achievements_pane_ = new AchievementsPane(this);
79
80 wxChoicebook *choicebook = new wxChoicebook(this, wxID_ANY); 78 wxChoicebook *choicebook = new wxChoicebook(this, wxID_ANY);
79 achievements_pane_ = new AchievementsPane(choicebook);
81 choicebook->AddPage(achievements_pane_, "Achievements"); 80 choicebook->AddPage(achievements_pane_, "Achievements");
82 81
83 notebook_ = new wxNotebook(this, wxID_ANY); 82 notebook_ = new wxNotebook(this, wxID_ANY);