1
0
Fork 0

citra_qt: Fixed a bug when dumping dialog is cancelled or closed

This commit is contained in:
zhupengfei 2020-02-23 12:25:48 +08:00
parent c38202bd30
commit 8868d4db86
No known key found for this signature in database
GPG Key ID: DD129E108BD09378
1 changed files with 1 additions and 0 deletions

View File

@ -1821,6 +1821,7 @@ void GMainWindow::OnCaptureScreenshot() {
void GMainWindow::OnStartVideoDumping() {
DumpingDialog dialog(this);
if (dialog.exec() != QDialog::DialogCode::Accepted) {
ui.action_Dump_Video->setChecked(false);
return;
}
const auto path = dialog.GetFilePath();