Skip to content

Commit

Permalink
bugfix: CD images were not activated on Reset, only on Restart (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Nov 18, 2023
1 parent 4cae1f6 commit e65b563
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/osdep/gui/PanelHD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,12 @@ void RefreshPanelHD()
cmdCDSelectFile->setEnabled(changed_prefs.cdslots[0].inuse);
cboCDFile->setEnabled(changed_prefs.cdslots[0].inuse);
chkCDTurbo->setSelected(changed_prefs.cd_speed == 0);

if (changed_prefs.cdslots[0].inuse && changed_prefs.cdslots[0].name[0])
{
struct device_info di = { 0 };
blkdev_get_info(&changed_prefs, 0, &di);
}
}


Expand Down

0 comments on commit e65b563

Please sign in to comment.