diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2010-01-18 05:31:00 +0300 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2010-01-18 05:31:00 +0300 |
commit | da8ed17c74f56e1e8739c631cd4373d909fd44fb (patch) | |
tree | 9cd245fff60a8570ca1a574c1d4ac6b06a9593ee /src/apps/mplayerc/FavoriteAddDlg.cpp | |
parent | 365cd7eccbad806fa742cd92e070d4e8f35fcacc (diff) |
Fix : FavoriteAdd dialog;
little minor update;
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1524 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/FavoriteAddDlg.cpp')
-rw-r--r-- | src/apps/mplayerc/FavoriteAddDlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apps/mplayerc/FavoriteAddDlg.cpp b/src/apps/mplayerc/FavoriteAddDlg.cpp index b7b621440..385756ed6 100644 --- a/src/apps/mplayerc/FavoriteAddDlg.cpp +++ b/src/apps/mplayerc/FavoriteAddDlg.cpp @@ -61,8 +61,6 @@ BOOL CFavoriteAddDlg::OnInitDialog() if ( !m_fullname.IsEmpty() )
m_namectrl.AddString( m_fullname );
- m_namectrl.SetCurSel( 0 );
-
::CorrectComboListWidth( m_namectrl, GetFont() );
m_bRememberPos = AfxGetApp()->GetProfileInt(_T("Favorite"), _T("RememberPosition"), TRUE);
@@ -70,6 +68,8 @@ BOOL CFavoriteAddDlg::OnInitDialog() UpdateData(FALSE); // Update UI
+ m_namectrl.SetCurSel( 0 );
+
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
|