UI: Prevent save textures if not replacing.

For clarity, it's required.
This commit is contained in:
Unknown W. Brackets committed 2022-04-17 20:55:39 -07:00
1 parent 34d0acac4e
commit 8f8436fd1a
1 file changed
+1 -1
+1 -1
View File
@@ -1778,7 +1778,7 @@ void DeveloperToolsScreen::CreateViews() {
list->Add(new Choice(dev->T("Load language ini")))->OnClick.Handle(this, &DeveloperToolsScreen::OnLoadLanguageIni);
list->Add(new Choice(dev->T("Save language ini")))->OnClick.Handle(this, &DeveloperToolsScreen::OnSaveLanguageIni);
list->Add(new ItemHeader(dev->T("Texture Replacement")));
list->Add(new CheckBox(&g_Config.bSaveNewTextures, dev->T("Save new textures")));
list->Add(new CheckBox(&g_Config.bSaveNewTextures, dev->T("Save new textures")))->SetEnabledPtr(&g_Config.bReplaceTextures);
list->Add(new CheckBox(&g_Config.bReplaceTextures, dev->T("Replace textures")));
// Makes it easy to get savestates out of an iOS device. The file listing shown in MacOS doesn't allow