Fixed #246: Dropdown controls regarding Floppy and CD drive were changed always to the last value entered on an update
This commit is contained in:
parent
673a0dc5f3
commit
667cd86543
3 changed files with 4 additions and 4 deletions
|
@ -553,7 +553,7 @@ static void AdjustDropDownControls()
|
|||
{
|
||||
for (unsigned int i = 0; i < lstMRUCDList.size(); ++i)
|
||||
{
|
||||
if (lstMRUCDList[i].c_str() != changed_prefs.cdslots[0].name)
|
||||
if (strcmp(lstMRUCDList[i].c_str(), changed_prefs.cdslots[0].name) == 0)
|
||||
{
|
||||
cboCDFile->setSelected(i);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue