From dd27c1ae1cd6ea3325f8fcdca8202d4e2ada5e1d Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Fri, 27 Dec 2024 16:22:38 +0100 Subject: [PATCH] Qt: Properly disable all dumping options if draw dumping is disabled. Also move around sone options. --- pcsx2-qt/Settings/DebugSettingsWidget.cpp | 8 ++++++++ pcsx2-qt/Settings/DebugSettingsWidget.ui | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pcsx2-qt/Settings/DebugSettingsWidget.cpp b/pcsx2-qt/Settings/DebugSettingsWidget.cpp index 6bf2078ff7ad9..34a8d6d41f91c 100644 --- a/pcsx2-qt/Settings/DebugSettingsWidget.cpp +++ b/pcsx2-qt/Settings/DebugSettingsWidget.cpp @@ -151,6 +151,14 @@ void DebugSettingsWidget::onDrawDumpingChanged() m_ui.saveFrame->setEnabled(enabled); m_ui.saveTexture->setEnabled(enabled); m_ui.saveDepth->setEnabled(enabled); + m_ui.startDraw->setEnabled(enabled); + m_ui.dumpCount->setEnabled(enabled); + m_ui.hwDumpDirectory->setEnabled(enabled); + m_ui.hwDumpBrowse->setEnabled(enabled); + m_ui.hwDumpOpen->setEnabled(enabled); + m_ui.swDumpDirectory->setEnabled(enabled); + m_ui.swDumpBrowse->setEnabled(enabled); + m_ui.swDumpOpen->setEnabled(enabled); } #ifdef PCSX2_DEVBUILD diff --git a/pcsx2-qt/Settings/DebugSettingsWidget.ui b/pcsx2-qt/Settings/DebugSettingsWidget.ui index b242da8be4e2c..e735510dcbeab 100644 --- a/pcsx2-qt/Settings/DebugSettingsWidget.ui +++ b/pcsx2-qt/Settings/DebugSettingsWidget.ui @@ -167,7 +167,7 @@ - + Save RT @@ -181,7 +181,7 @@ - + Save Texture