Two more disabled options fixes in the config interfaces.
This commit is contained in:
parent
01516a153f
commit
66d9fd53b5
@ -978,6 +978,7 @@ void bx_init_options()
|
||||
"", BX_PATHNAME_LEN);
|
||||
deplist->add(advopts);
|
||||
enabled->set_dependent_list(deplist);
|
||||
enabled->set_enabled(BX_SUPPORT_PCI);
|
||||
pci->set_options(pci->SHOW_PARENT);
|
||||
slot->set_options(slot->SHOW_PARENT);
|
||||
|
||||
|
@ -587,11 +587,16 @@ void MyFrame::OnEditCPU(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void MyFrame::OnEditCPUID(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
ParamDialog dlg(this, -1);
|
||||
bx_list_c *list = (bx_list_c*) SIM->get_param("cpuid");
|
||||
dlg.SetTitle(wxString(list->get_title(), wxConvUTF8));
|
||||
dlg.AddParam(list);
|
||||
dlg.ShowModal();
|
||||
if (list != NULL) {
|
||||
ParamDialog dlg(this, -1);
|
||||
dlg.SetTitle(wxString(list->get_title(), wxConvUTF8));
|
||||
dlg.AddParam(list);
|
||||
dlg.ShowModal();
|
||||
} else {
|
||||
wxMessageBox(wxT("Nothing to configure in this section!"),
|
||||
wxT("Not enabled"), wxOK | wxICON_ERROR, this);
|
||||
}
|
||||
}
|
||||
|
||||
void MyFrame::OnEditMemory(wxCommandEvent& WXUNUSED(event))
|
||||
|
Loading…
Reference in New Issue
Block a user