From 8f8436fd1a07ef02b39ff765a694f1d6456849fb Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 17 Apr 2022 20:53:18 -0700 Subject: [PATCH] UI: Prevent save textures if not replacing. For clarity, it's required. --- UI/GameSettingsScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index a19019fe13..2f568a3886 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -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