From fbc77e956ae348e581bffca2b5b3fe654c03bc42 Mon Sep 17 00:00:00 2001 From: lioncash Date: Wed, 1 May 2013 09:35:31 -0400 Subject: [PATCH] Display the initial number of frames that are to be recorded in the Fifo 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). --- Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp b/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp index 8f14797fb0..09eb0b21db 100644 --- a/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp +++ b/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp @@ -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);