Correct checkboxes and remove old comments.

This commit is contained in:
The Dax committed 2013-07-27 19:50:23 -04:00
1 parent 528d81151a
commit b07c8155de
3 files changed
+5 -11

No files matched your search

+1 -3
View File
@@ -292,9 +292,7 @@ void GlobalSettingsScreen::CreateViews() {
list->Add(new ItemHeader("General"));
list->Add(new CheckBox(&g_Config.bNewUI, gs->T("Enable New UI")));
list->Add(new CheckBox(&g_Config.bEnableLogging, gs->T("Enable Logging")));
if(g_Config.bEnableLogging)
// No reason to show this if we're not logging at all, but it doesn't draw until one exits and re-enters the settings.
list->Add(new CheckBox(&enableReports_, gs->T("Enable Error Reporting")));
list->Add(new CheckBox(&enableReports_, gs->T("Enable Error Reporting")));
list->Add(new CheckBox(&g_Config.bEnableCheats, gs->T("Enable Cheats")));
list->Add(new CheckBox(&g_Config.bScreenshotsAsPNG, gs->T("Screenshots as PNG")));
list->Add(new Choice(gs->T("Control Mapping")))->OnClick.Handle(this, &GlobalSettingsScreen::OnControlMapping);