citra_qt: Fixed a bug when dumping dialog is cancelled or closed
This commit is contained in:
parent
c38202bd30
commit
8868d4db86
|
@ -1821,6 +1821,7 @@ void GMainWindow::OnCaptureScreenshot() {
|
||||||
void GMainWindow::OnStartVideoDumping() {
|
void GMainWindow::OnStartVideoDumping() {
|
||||||
DumpingDialog dialog(this);
|
DumpingDialog dialog(this);
|
||||||
if (dialog.exec() != QDialog::DialogCode::Accepted) {
|
if (dialog.exec() != QDialog::DialogCode::Accepted) {
|
||||||
|
ui.action_Dump_Video->setChecked(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const auto path = dialog.GetFilePath();
|
const auto path = dialog.GetFilePath();
|
||||||
|
|
Loading…
Reference in New Issue