mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-16 15:55:30 +00:00
Merge pull request #327 from adityaruplaha/fullscreen-fix
Fix the stuck in fullscreen bug
This commit is contained in:
commit
9f66cae865
|
@ -776,9 +776,11 @@ void GMainWindow::closeEvent(QCloseEvent* event) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
UISettings::values.geometry = saveGeometry();
|
if (ui.action_Fullscreen->isChecked()) {
|
||||||
|
UISettings::values.geometry = saveGeometry();
|
||||||
|
UISettings::values.renderwindow_geometry = render_window->saveGeometry();
|
||||||
|
}
|
||||||
UISettings::values.state = saveState();
|
UISettings::values.state = saveState();
|
||||||
UISettings::values.renderwindow_geometry = render_window->saveGeometry();
|
|
||||||
#if MICROPROFILE_ENABLED
|
#if MICROPROFILE_ENABLED
|
||||||
UISettings::values.microprofile_geometry = microProfileDialog->saveGeometry();
|
UISettings::values.microprofile_geometry = microProfileDialog->saveGeometry();
|
||||||
UISettings::values.microprofile_visible = microProfileDialog->isVisible();
|
UISettings::values.microprofile_visible = microProfileDialog->isVisible();
|
||||||
|
|
Loading…
Reference in a new issue