MainFrame: make code a bit more readable.
This commit is contained in:
parent
a24422adcc
commit
4e1a74e03e
1 changed files with 3 additions and 2 deletions
|
@ -515,8 +515,9 @@ void EvtMainFrame::screenshotFileEventHandler(int event_type, const wxString& ev
|
||||||
}
|
}
|
||||||
|
|
||||||
void EvtMainFrame::updateProfileStats() {
|
void EvtMainFrame::updateProfileStats() {
|
||||||
_companyName->SetLabel(_profileManager.currentProfile()->companyName());
|
Profile* current_profile = _profileManager.currentProfile();
|
||||||
_credits->SetLabel(wxString::Format("%i", _profileManager.currentProfile()->getCredits()));
|
_companyName->SetLabel(current_profile->companyName());
|
||||||
|
_credits->SetLabel(wxString::Format("%i", current_profile->getCredits()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void EvtMainFrame::initialiseListView() {
|
void EvtMainFrame::initialiseListView() {
|
||||||
|
|
Loading…
Reference in a new issue