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

This commit is contained in:
zhupengfei
2020-02-27 16:55:18 +08:00
parent c38202bd30
commit 8868d4db86
+1
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();