Enabled write-protect checkbox for floppy

Addresses #14
This commit is contained in:
Dimitris Panokostas 2017-02-24 01:48:26 +01:00
parent 9416319b12
commit 0bef9bf057

View file

@ -135,7 +135,7 @@ public:
//---------------------------------------
// Write-protect changed
//---------------------------------------
// ToDo: set write protect for floppy
disk_setwriteprotect(&changed_prefs, i, changed_prefs.floppyslots[i].df, chkDFxWriteProtect[i]->isSelected());
}
}
}
@ -384,7 +384,7 @@ void InitPanelFloppy(const struct _ConfigCategory& category)
chkDFxWriteProtect[i] = new gcn::UaeCheckBox("Write-protected");
chkDFxWriteProtect[i]->addActionListener(dfxCheckActionListener);
chkDFxWriteProtect[i]->setEnabled(false);
//chkDFxWriteProtect[i]->setEnabled(false);
cmdDFxInfo[i] = new gcn::Button("?");
cmdDFxInfo[i]->setSize(SMALL_BUTTON_WIDTH, SMALL_BUTTON_HEIGHT);