Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Display the initial number of frames that are to be recorded in the F…
…ifo Player.

Before this commit, nothing would would be displayed in the "Frames to Record" text control.

This fixes that by setting it to what m_FramesToRecord is initially set to, which is 1 (at the time of this commit).
  • Loading branch information
lioncash committed May 1, 2013
1 parent 62065be commit fbc77e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp
Expand Up @@ -192,7 +192,8 @@ void FifoPlayerDlg::CreateGUIControls()
m_FramesToRecordLabel->Wrap(-1);
sRecordingOptions->Add(m_FramesToRecordLabel, 0, wxALL, 5);

m_FramesToRecordCtrl = new wxSpinCtrl(m_RecordPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10000, 1);
wxString initialNum = wxString::Format(_T("%d"), m_FramesToRecord);
m_FramesToRecordCtrl = new wxSpinCtrl(m_RecordPage, wxID_ANY, initialNum, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10000);
sRecordingOptions->Add(m_FramesToRecordCtrl, 0, wxALL, 5);

sRecordPage->Add(sRecordingOptions, 0, wxEXPAND, 5);
Expand Down

0 comments on commit fbc77e9

Please sign in to comment.